decred/atomicswap

participant address is not P2PKH

zhouzhou84 opened this issue · 1 comments

Description

when I use bitcoin-cli -testnet getnewaddress to get an address 2N5ioPyiLdGDhHDXDwLj3XzeLvfmE156dgc,
and use this bitcoin address to do the autoswap,

ubuntu@ip-172-31-15-69:~$ btcatomicswap --testnet --rpcuser=eigen --rpcpass=eigencapital initiate 2N5ioPyiLdGDhHDXDwLj3XzeLvfmE156dgc 1.0
participant address is not P2PKH

what should I do ?

I know something ,ubuntu@ip-172-31-15-69:~$ bitcoin-cli -testnet getnewaddress "" "legacy" is ok. The first character of the address must be m or n like n1Sp6GY2CWVy51EHtBoeSNPYHB7zfXoHAd