mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-12 05:21:08 +00:00
core: marshal Block.Nonce in upper-case hex
This commit is contained in:
parent
b502c5f148
commit
db13362e86
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ func (b Header) MarshalJSON() ([]byte, error) {
|
||||||
PrevHash: b.PrevHash,
|
PrevHash: b.PrevHash,
|
||||||
MerkleRoot: b.MerkleRoot,
|
MerkleRoot: b.MerkleRoot,
|
||||||
Timestamp: b.Timestamp,
|
Timestamp: b.Timestamp,
|
||||||
Nonce: fmt.Sprintf("%016x", b.Nonce),
|
Nonce: fmt.Sprintf("%016X", b.Nonce),
|
||||||
Index: b.Index,
|
Index: b.Index,
|
||||||
PrimaryIndex: b.PrimaryIndex,
|
PrimaryIndex: b.PrimaryIndex,
|
||||||
NextConsensus: address.Uint160ToString(b.NextConsensus),
|
NextConsensus: address.Uint160ToString(b.NextConsensus),
|
||||||
|
|
Loading…
Reference in a new issue