mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
Improved error message
This commit is contained in:
parent
55ad275d51
commit
e14acb5752
@ -1222,7 +1222,7 @@ func (p *Parlia) applyTransaction(
|
||||
}
|
||||
} else {
|
||||
if receivedTxs == nil || len(*receivedTxs) == 0 || (*receivedTxs)[0] == nil {
|
||||
return errors.New("supposed to get a actual transaction, but get none")
|
||||
return errors.New("received no matching system transactions")
|
||||
}
|
||||
actualTx := (*receivedTxs)[0]
|
||||
if !bytes.Equal(p.signer.Hash(actualTx).Bytes(), expectedHash.Bytes()) {
|
||||
|
Loading…
Reference in New Issue
Block a user