Burn address not valid for calls to 'grant'

+1 vote

The first JSON below is the output from getinfo, and the 2nd paragraph is the payload sent to grant.

Why is it not recognising the burn address as a valid address anymore? Was working in alpha-5.

{"error":null,"id":"multichain-client","result":{"balance":0,"blocks":59,"burnaddress":"1XXXXXXWXpXXXXXXoKXXXXXXj6XXXXXXT4MHmt","chainname":"alphathree","connections":0,"description":"MultiChain alphathree","difficulty":5.96046447753906e-8,"errors":"","incomingpaused":false,"keypoololdest":1542502536,"keypoolsize":2,"miningpaused":false,"nodeaddress":"alphathree@172.24.0.4:2693","nodeversion":20000106,"offchainpaused":false,"paytxfee":0,"port":2693,"protocol":"multichain","protocolversion":20005,"proxy":"","reindex":false,"relayfee":0,"setupblocks":60,"testnet":false,"timeoffset":0,"version":"2.0 alpha 6","walletdbversion":2,"walletversion":60000}}

chain-api_1    | multichain-omega-chain-api.multichain-omega(O): POSTING: http://master:4444 bXVsdGljaGFpbnJwYzpHc1BwUk5oZm5hdlo5WGJmYlRpY1B4MWRtZ3lhUnZ0eVl2bmRUY0wxWVdxbQ== map[jsonrpc:1.0 id:multichain-client params:[1XXXXXXWXpXXXXXXoKXXXXXXj6XXXXXXT4MHmt receive] method:grant]

This is the error

{"result":null,"error":{"code":-5,"message":"Invalid address: 1XXXXXXWXpXXXXXXoKXXXXXXj6XXXXXXT4MHmt"},"id":"multichain-client"}

asked Nov 20, 2018 by alexb

1 Answer

0 votes

We couldn't reproduce this here.

So first, please be sure that you are using the right burn address with the right chain, since each blockchain has its own set of version bytes for addresses.

If the problem is still occurring, this would appear to be a rare bug caused by your specific blockchain parameters, and it would be helpful to see the parameters your chain has for:

address-pubkeyhash-version
address-checksum-value

answered Nov 20, 2018 by MultiChain
...