mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
fix tests in core/types
This commit is contained in:
parent
61222d89cc
commit
aa70aaba37
1 changed files with 24 additions and 20 deletions
|
|
@ -177,6 +177,7 @@ func getTestReceipts() Receipts {
|
||||||
TxHash: txs[0].Hash(),
|
TxHash: txs[0].Hash(),
|
||||||
TxIndex: 0,
|
TxIndex: 0,
|
||||||
BlockHash: blockHash,
|
BlockHash: blockHash,
|
||||||
|
BlockTimestamp: blockTime,
|
||||||
Index: 0,
|
Index: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -187,6 +188,7 @@ func getTestReceipts() Receipts {
|
||||||
TxHash: txs[0].Hash(),
|
TxHash: txs[0].Hash(),
|
||||||
TxIndex: 0,
|
TxIndex: 0,
|
||||||
BlockHash: blockHash,
|
BlockHash: blockHash,
|
||||||
|
BlockTimestamp: blockTime,
|
||||||
Index: 1,
|
Index: 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -211,6 +213,7 @@ func getTestReceipts() Receipts {
|
||||||
TxHash: txs[1].Hash(),
|
TxHash: txs[1].Hash(),
|
||||||
TxIndex: 1,
|
TxIndex: 1,
|
||||||
BlockHash: blockHash,
|
BlockHash: blockHash,
|
||||||
|
BlockTimestamp: blockTime,
|
||||||
Index: 2,
|
Index: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -221,6 +224,7 @@ func getTestReceipts() Receipts {
|
||||||
TxHash: txs[1].Hash(),
|
TxHash: txs[1].Hash(),
|
||||||
TxIndex: 1,
|
TxIndex: 1,
|
||||||
BlockHash: blockHash,
|
BlockHash: blockHash,
|
||||||
|
BlockTimestamp: blockTime,
|
||||||
Index: 3,
|
Index: 3,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue