aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/transaction_signing_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/types/transaction_signing_test.go')
-rw-r--r--core/types/transaction_signing_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction_signing_test.go b/core/types/transaction_signing_test.go
index 3216fcfad..7f799fb10 100644
--- a/core/types/transaction_signing_test.go
+++ b/core/types/transaction_signing_test.go
@@ -71,7 +71,7 @@ func TestEIP155ChainId(t *testing.T) {
t.Error("didn't expect tx to be protected")
}
- if tx.ChainId().BitLen() > 0 {
+ if tx.ChainId().Sign() != 0 {
t.Error("expected chain id to be 0 got", tx.ChainId())
}
}