Skip to content

Commit d62ee82

Browse files
committed
fix release unlocked nonce
1 parent f9713a9 commit d62ee82

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

solana/observer.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,6 @@ func (node *Node) handleUnconfirmedCalls(ctx context.Context) error {
561561
panic(err)
562562
}
563563
extra = attachSystemCall(extra, cid, tb)
564-
} else {
565-
node.releaseLockedNonceAccount(ctx, nonce)
566564
}
567565
}
568566

@@ -820,8 +818,6 @@ func (node *Node) processSuccessedCall(ctx context.Context, call *store.SystemCa
820818
panic(err)
821819
}
822820
extra = attachSystemCall(extra, cid, data)
823-
} else {
824-
node.releaseLockedNonceAccount(ctx, nonce)
825821
}
826822
}
827823

@@ -852,8 +848,6 @@ func (node *Node) processFailedCall(ctx context.Context, call *store.SystemCall,
852848
panic(err)
853849
}
854850
extra = attachSystemCall(extra, cid, data)
855-
} else {
856-
node.releaseLockedNonceAccount(ctx, nonce)
857851
}
858852
}
859853

0 commit comments

Comments
 (0)