mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
core/type: change receipt status code
This commit is contained in:
parent
edc39aaedf
commit
fbf5b1de15
1 changed files with 2 additions and 2 deletions
|
|
@ -36,10 +36,10 @@ var (
|
|||
|
||||
const (
|
||||
// ReceiptStatusFailed is the status code of a transaction if execution failed.
|
||||
ReceiptStatusFailed = uint64(0)
|
||||
ReceiptStatusFailed = uint64(1)
|
||||
|
||||
// ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.
|
||||
ReceiptStatusSuccessful = uint64(1)
|
||||
ReceiptStatusSuccessful = uint64(0)
|
||||
)
|
||||
|
||||
// Receipt represents the results of a transaction.
|
||||
|
|
|
|||
Loading…
Reference in a new issue