sendtoaddress command doesn't work with bech32 bitcoin core 0.17

0

I have bitcoin-core 0.17 working on regtest mode and when I try to send to a bech32 testnet address I get invalid address

I have set addresstype=bech32 on my bitcoin.conf

Adam

Posted 2019-03-16T06:31:49.477

Reputation: 3 215

Answers

3

It sounds like you are using the wrong address type for the network that you are on. Regtest bech32 addresses begin with "bcrt".

G. Maxwell

Posted 2019-03-16T06:31:49.477

Reputation: 6 039