core: marshal Block.Nonce in upper-case hex

This commit is contained in:
Anna Shaleva 2021-09-09 15:52:51 +03:00
parent b502c5f148
commit db13362e86

View file

@ -157,7 +157,7 @@ func (b Header) MarshalJSON() ([]byte, error) {
PrevHash: b.PrevHash,
MerkleRoot: b.MerkleRoot,
Timestamp: b.Timestamp,
Nonce: fmt.Sprintf("%016x", b.Nonce),
Nonce: fmt.Sprintf("%016X", b.Nonce),
Index: b.Index,
PrimaryIndex: b.PrimaryIndex,
NextConsensus: address.Uint160ToString(b.NextConsensus),