block: remove ConsensusData field

This commit is contained in:
Evgeniy Stratonikov 2021-03-01 15:20:27 +03:00
parent 7160675ac1
commit 2f490a3403
22 changed files with 52 additions and 196 deletions

View file

@ -34,9 +34,6 @@ func TestNeoBlock_Setters(t *testing.T) {
// 777ms -> 777000000ns
require.EqualValues(t, 777000000, b.Timestamp())
b.Block.ConsensusData.Nonce = 456
require.EqualValues(t, 456, b.ConsensusData())
b.Block.MerkleRoot = util.Uint256{1, 2, 3, 4}
require.Equal(t, util.Uint256{1, 2, 3, 4}, b.MerkleRoot())