fix another forgotten claim id nbo conversion

This commit is contained in:
Victor Shyba 2018-07-15 20:44:44 -03:00 committed by Jack Robison
parent 5809ba093d
commit 44bd0ae847
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -1604,7 +1604,7 @@ class Daemon(AuthJSONRPCServer):
"nout": 0,
"tx": hexlify(tx.raw),
"fee": str(Decimal(tx.fee) / COIN),
"claim_id": hexlify(tx.get_claim_id(0)),
"claim_id": hexlify(tx.get_claim_id(0)[::-1]),
"value": hexlify(script.values['claim']),
"claim_address": self.ledger.hash160_to_address(script.values['pubkey_hash'])
}