Commit d7b88297 authored by Maran's avatar Maran

Make contract creation error more explicit by mentioning the sneder

parent 2010fea0
...@@ -178,7 +178,7 @@ func (sm *StateManager) ApplyTransaction(state *State, block *Block, tx *Transac ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment