Make contract creation error more explicit by mentioning the sneder

poc8
Maran 11 years ago
parent 2010fea088
commit d7b882977c
  1. 2
      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

Loading…
Cancel
Save