diff options
author | Maran <maran.hidskes@gmail.com> | 2014-06-03 17:56:19 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-06-03 17:56:19 +0800 |
commit | d7b882977c4289bc2aabb51e1cf6b3577bc02aca (patch) | |
tree | 6b97de042edd94425b0451f3a5207009ffd87680 /ethchain | |
parent | 2010fea0888991e978e715477516bc374bb29f01 (diff) | |
download | go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.tar go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.tar.gz go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.tar.bz2 go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.tar.lz go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.tar.xz go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.tar.zst go-tangerine-d7b882977c4289bc2aabb51e1cf6b3577bc02aca.zip |
Make contract creation error more explicit by mentioning the sneder
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/state_manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 8e5ca1b83..f1c09b819 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -178,7 +178,7 @@ func (sm *StateManager) ApplyTransaction(state *State, block *Block, tx *Transac err = fmt.Errorf("[STATE] Unable to create contract") } } else { - err = fmt.Errorf("[STATE] contract creation tx: %v", err) + err = fmt.Errorf("[STATE] contract creation tx: %v for sender %x", err, tx.Sender()) } } else { // Find the state object at the "recipient" address. If |