core/type: change receipt status code

This commit is contained in:
kane 2018-11-28 03:59:14 -05:00
parent edc39aaedf
commit fbf5b1de15

View file

@ -36,10 +36,10 @@ var (
const ( const (
// ReceiptStatusFailed is the status code of a transaction if execution failed. // 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 is the status code of a transaction if execution succeeded.
ReceiptStatusSuccessful = uint64(1) ReceiptStatusSuccessful = uint64(0)
) )
// Receipt represents the results of a transaction. // Receipt represents the results of a transaction.