forked from TrueCloudLab/neoneo-go
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,
|
||||
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),
|
||||
|
|
Loading…
Reference in a new issue