Skip to content

Commit 627b36c

Browse files
authored
Merge pull request #238 from thirdweb-dev/07-16-set_chain_id_when_initializing_simple_rpc
set chain ID when initializing simple rpc
2 parents 59e8864 + c832610 commit 627b36c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/rpc/rpc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func InitializeSimpleRPCWithUrl(url string) (IRPCClient, error) {
107107
EthClient: ethClient,
108108
url: url,
109109
}
110+
rpc.setChainID(context.Background())
110111
return IRPCClient(rpc), nil
111112
}
112113

0 commit comments

Comments
 (0)