aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-06-03 17:56:19 +0800
committerMaran <maran.hidskes@gmail.com>2014-06-03 17:56:19 +0800
commitd7b882977c4289bc2aabb51e1cf6b3577bc02aca (patch)
tree6b97de042edd94425b0451f3a5207009ffd87680 /ethchain
parent2010fea0888991e978e715477516bc374bb29f01 (diff)
downloadgo-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.go2
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