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

CC BY-SA 4.0
2019-03-16T06:52:05.793Z
2019-03-16T06:52:05.793Z
G. Maxwell
<p>I have bitcoin-core 0.17 working on <code>regtest</code> mode and when I try to send to a bech32 testnet address I get invalid address</p>

<p>I have set <code>addresstype=bech32</code> on my bitcoin.conf</p>

<bitcoin-core><bech32-address>
sendtoaddress command doesn't work with bech32 bitcoin core 0.17
Tailer
# sendtoaddress command doesn't work with bech32 bitcoin core 0.17

(Asked by: username_0 on 2019-03-16)

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

**Tags:** bitcoin-core, bech32-address


---

## 1 answers

### Answer by username_1 on 2019-03-16. Score: 3 | Accepted answer

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


---

