Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

logs should be printed in if/else #53

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/node/appchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading