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

@ -178,7 +178,7 @@ func (sm *StateManager) ApplyTransaction(state *State, block *Block, tx *Transac
err = fmt.Errorf("[STATE] Unable to create contract") err = fmt.Errorf("[STATE] Unable to create contract")
} }
} else { } 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 { } else {
// Find the state object at the "recipient" address. If // Find the state object at the "recipient" address. If