aboutsummaryrefslogtreecommitdiffstats
path: root/core/database_util_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-02 19:41:10 +0800
committerGitHub <noreply@github.com>2017-10-02 19:41:10 +0800
commitf86c4177d506b635f9ebdaea8ab5aef27f53d20a (patch)
tree937622958d23a10dc95cb41682305b1e075df833 /core/database_util_test.go
parentd78ad226c26c84635c60fad233de9e6e438a5599 (diff)
parent7e9e3a134b9607209def42279db081973b5e0ac2 (diff)
downloadgo-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.tar
go-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.tar.gz
go-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.tar.bz2
go-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.tar.lz
go-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.tar.xz
go-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.tar.zst
go-tangerine-f86c4177d506b635f9ebdaea8ab5aef27f53d20a.zip
Merge pull request #15042 from rjl493456442/receipt_rpc
internal/ethapi: add status code to receipt rpc return
Diffstat (limited to 'core/database_util_test.go')
-rw-r--r--core/database_util_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/database_util_test.go b/core/database_util_test.go
index 940221a29..36f43cf50 100644
--- a/core/database_util_test.go
+++ b/core/database_util_test.go
@@ -336,7 +336,7 @@ func TestBlockReceiptStorage(t *testing.T) {
db, _ := ethdb.NewMemDatabase()
receipt1 := &types.Receipt{
- Failed: true,
+ Status: types.ReceiptStatusFailed,
CumulativeGasUsed: big.NewInt(1),
Logs: []*types.Log{
{Address: common.BytesToAddress([]byte{0x11})},