core: make txpool operate on immutable state
This commit is contained in:
@@ -1265,7 +1265,6 @@ func (s *PublicTransactionPoolAPI) Resend(ctx context.Context, sendArgs SendTxAr
|
||||
if err != nil {
|
||||
return common.Hash{}, err
|
||||
}
|
||||
s.b.RemoveTx(p.Hash())
|
||||
if err = s.b.SendTx(ctx, signedTx); err != nil {
|
||||
return common.Hash{}, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user