Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
firelizzard18 committed Jun 14, 2024
1 parent cc1bf9d commit 8c39c66
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/core/execute/v2/block/msg_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,11 @@ func (x ExpiredTransaction) eraseSignatures(batch *database.Batch, ctx *MessageC
_, isAuth := account.(protocol.Authority)
switch {
case errors.Is(err, errors.NotFound):
slog.Info("Skip erasing signatures for expired transaction: account does not exist", "id", msg.TxID)
// The account does not exist. This should only happen for multisig
// Create transactions that expire. In that case - a pending transaction
// to create some account X - any attempt to use X to sign transactions
// must fail, and thus there should never be anything to erase here.
slog.Debug("Skip erasing signatures for expired transaction: account does not exist", "id", msg.TxID)
return nil

case err != nil:
Expand Down

0 comments on commit 8c39c66

Please sign in to comment.