From 5b7145c530cdb746d5f950519633d58d3e1f3ea7 Mon Sep 17 00:00:00 2001 From: leonz789 Date: Mon, 30 Dec 2024 09:08:30 +0800 Subject: [PATCH] typo --- cmd/feeder_debug.go | 2 +- types/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/feeder_debug.go b/cmd/feeder_debug.go index fdf35c7..c1a3784 100644 --- a/cmd/feeder_debug.go +++ b/cmd/feeder_debug.go @@ -198,7 +198,7 @@ func sendTx(feederID uint64, height int64, price *debugger.PriceMsg) (*debugger. }) } -func sendTxImmediatly(feederID uint64, price *PriceJSON) (*debugger.SubmitPriceResponse, error) { +func sendTxImmediately(feederID uint64, price *PriceJSON) (*debugger.SubmitPriceResponse, error) { if err := exoclient.Init(feederConfig, mnemonic, privFile, true, true); err != nil { return nil, fmt.Errorf("failed to init exoclient in txOnly mode for debug, error:%w", err) } diff --git a/types/types.go b/types/types.go index 3c2f31f..d1e40ce 100644 --- a/types/types.go +++ b/types/types.go @@ -49,7 +49,7 @@ type Config struct { AppName string `mapstructure:"appname"` Gprc string `mapstructure:"grpc"` Ws string `mapstructure:"ws"` - Rpc string `mspstructure:"rpc"` + Rpc string `mapstructure:"rpc"` } `mapstructure:"exocore"` }