diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-17 18:58:31 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-17 18:58:31 +0800 |
commit | e91ab84dbe4ef87b2f182b88e5b252b5d414df28 (patch) | |
tree | 7945bc9ba536bd5960ab555886139e658dc6982b /core/types/transaction_test.go | |
parent | d5de6489d7275374a3bb269b07780d6c13b6c3b7 (diff) | |
download | dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.tar dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.tar.gz dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.tar.bz2 dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.tar.lz dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.tar.xz dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.tar.zst dexon-e91ab84dbe4ef87b2f182b88e5b252b5d414df28.zip |
core/types: don't use Address zero value for invalid addresses
Diffstat (limited to 'core/types/transaction_test.go')
-rw-r--r-- | core/types/transaction_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index 1af59436e..0b0dfe3ff 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -19,8 +19,9 @@ var ( nil, ) - rightvrsTx = &Transaction{ - Recipient: common.HexToAddress("b94f5374fce5edbc8e2a8697c15331677e6ebf0b"), + rightvrsRecipient = common.HexToAddress("b94f5374fce5edbc8e2a8697c15331677e6ebf0b") + rightvrsTx = &Transaction{ + Recipient: &rightvrsRecipient, AccountNonce: 3, Price: big.NewInt(1), GasLimit: big.NewInt(2000), |