Closed zhouzhou84 closed 6 years ago
when I use bitcoin-cli -testnet getnewaddress to get an address 2N5ioPyiLdGDhHDXDwLj3XzeLvfmE156dgc, and use this bitcoin address to do the autoswap,
bitcoin-cli -testnet getnewaddress
2N5ioPyiLdGDhHDXDwLj3XzeLvfmE156dgc
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 liken1Sp6GY2CWVy51EHtBoeSNPYHB7zfXoHAd
ubuntu@ip-172-31-15-69:~$ bitcoin-cli -testnet getnewaddress "" "legacy"
n1Sp6GY2CWVy51EHtBoeSNPYHB7zfXoHAd
Description
when I use
bitcoin-cli -testnet getnewaddress
to get an address2N5ioPyiLdGDhHDXDwLj3XzeLvfmE156dgc
, and use this bitcoin address to do theautoswap
,what should I do ?