MetacoSA / QBitNinja

An Open Source and powerful blockchain API
MIT License
68 stars 42 forks source link

Invaild address #39

Closed cryptodeveloperin closed 6 years ago

cryptodeveloperin commented 6 years ago

Hi Nic,

When we used following address to transfer money it give me invalid key: 38DdjQuLgpPebLFKFysxvWAjWHi5vpH56r 3JPNA8vXjfkC1i8ZUXbRggjXi19jirxmLD

i have tried with follwing way: BitcoinAddress bitcoinAddress = new BitcoinPubKeyAddress(address, network); also tried with: Script receiverScriptPubKey = new BitcoinPubKeyAddress(address).ScriptPubKey;

Please let me know what is the issue? i am using version 39.

Thanks.

NicolasDorier commented 6 years ago

Use BitcoinAddress.Create instead.

cryptodeveloperin commented 6 years ago

ok thanks.