Skip to content

Commit

Permalink
Fix issue with using a pointer to an iteration variable of a range lo…
Browse files Browse the repository at this point in the history
…op (#44)

Causing an issue with dusk-10 and dawn.

Note branch has been forked from `v0.14.1`. Should be merged to main to
fix on head but will also need to use this branch to cut a `v0.14.2` for
`dusk-10` and dawn
  • Loading branch information
mycodecrafting committed Sep 25, 2024
1 parent 401c3d5 commit bf8afe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grpc/execution/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ func NewExecutionServiceServerV1Alpha2(eth *eth.Ethereum) (*ExecutionServiceServ
return nil, errors.New("astria bridge sender address must be set for bridged ERC20 assets")
}

bridgeAddresses[cfg.BridgeAddress] = &cfg
bridgeCfg := cfg
bridgeAddresses[cfg.BridgeAddress] = &bridgeCfg
bridgeAllowedAssets[cfg.AssetDenom] = struct{}{}
if cfg.Erc20Asset == nil {
log.Info("bridge for sequencer native asset initialized", "bridgeAddress", cfg.BridgeAddress, "assetDenom", cfg.AssetDenom)
Expand Down

0 comments on commit bf8afe3

Please sign in to comment.