From 390e8b1ba9b47c3272cc06c5af57e3765bb7aeca Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Fri, 31 May 2024 11:00:29 +0100 Subject: [PATCH] fix in-mem test --- go/host/l1/publisher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/host/l1/publisher.go b/go/host/l1/publisher.go index f98fa74f91..5971f92bda 100644 --- a/go/host/l1/publisher.go +++ b/go/host/l1/publisher.go @@ -393,7 +393,7 @@ func (p *Publisher) publishTransaction(tx types.TxData) error { // we keep trying to send the transaction with this nonce until it is included in a block // note: this is only safe because of the sendingLock guaranteeing only one transaction in-flight at a time - nonce, err := p.ethClient.EthClient().PendingNonceAt(p.sendingContext, p.hostWallet.Address()) + nonce, err := p.ethClient.Nonce(p.hostWallet.Address()) if err != nil { return fmt.Errorf("could not get nonce for L1 tx: %w", err) }