Make contract creation error more explicit by mentioning the sneder

This commit is contained in:
Maran 2014-06-03 11:56:19 +02:00
parent 2010fea088
commit d7b882977c
1 changed files with 1 additions and 1 deletions

View File

@ -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