Skip to content

Commit

Permalink
core ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed Jul 28, 2024
1 parent 756fcc3 commit e178edb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/rfq/relayer/relconfig/getters.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package relconfig

import (
"fmt"
"github.com/synapsecns/sanguine/core"
"math/big"
"reflect"
"time"
Expand All @@ -25,7 +26,7 @@ var DefaultChainConfig = ChainConfig{

// NewFloatPtr returns a pointer to a float64.
func NewFloatPtr(val float64) *float64 {
return &val
return core.PtrTo(val)
}

// getChainConfigValue gets the value of a field from ChainConfig.
Expand Down

0 comments on commit e178edb

Please sign in to comment.