Make contract creation error more explicit by mentioning the sneder
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user