OSDN Git Service

reorganize error code (#1133)
[bytom/bytom-spv.git] / protocol / validation / block_test.go
index fede7b0..aac57d8 100644 (file)
@@ -72,12 +72,12 @@ func TestCheckCoinbaseAmount(t *testing.T) {
                                }),
                        },
                        amount: 6000,
-                       err:    errWrongCoinbaseTransaction,
+                       err:    ErrWrongCoinbaseTransaction,
                },
                {
                        txs:    []*types.Tx{},
                        amount: 5000,
-                       err:    errWrongCoinbaseTransaction,
+                       err:    ErrWrongCoinbaseTransaction,
                },
        }