diff --git a/cmd/node/appchain.go b/cmd/node/appchain.go index c3bf2d7..34a1637 100644 --- a/cmd/node/appchain.go +++ b/cmd/node/appchain.go @@ -247,9 +247,9 @@ func (ap *AppChain) SendUpdatedWeights(ctx context.Context, topicId uint64, resu txResp, err := ap.Client.BroadcastTx(ctx, ap.ReputerAccount, req) if err != nil { ap.Logger.Info().Err(err).Msg("failed to send weights to allora blockchain") + } else { + ap.Logger.Info().Any("Tx Resp:", txResp).Msg("successfully sent weights to allora blockchain") } - - ap.Logger.Info().Any("Tx Resp:", txResp).Msg("successfully sent weights to allora blockchain") } func parseFloatToUint64Weights(input string) (uint64, error) {