good morning!!!!

Skip to content
Snippets Groups Projects
Commit d7b88297 authored by Maran Hidskes's avatar Maran Hidskes
Browse files

Make contract creation error more explicit by mentioning the sneder

parent 2010fea0
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment