Skip to content

Commit

Permalink
chore(bridge): go formatting (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter authored Jan 24, 2024
1 parent ea18a6e commit f59ddc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bridge/tfchain_bridge/pkg/bridge/withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func (bridge *Bridge) handleWithdrawExpired(ctx context.Context, withdrawExpired
Str("category", "transfer").
Dict("metadata", zerolog.Dict().
Str("reason", err.Error())).
Str("type", "burn").
Msg("a withdraw failed with no way to refund!")
Str("type", "burn").
Msg("a withdraw failed with no way to refund!")
return bridge.subClient.RetrySetWithdrawExecuted(ctx, withdrawExpired.ID)
}

Expand All @@ -93,7 +93,7 @@ func (bridge *Bridge) handleWithdrawExpired(ctx context.Context, withdrawExpired
return err
}
log.Debug().Msgf("stellar account sequence number: %d", sequenceNumber)

err = bridge.subClient.RetryProposeWithdrawOrAddSig(ctx, withdrawExpired.ID, withdrawExpired.Target, big.NewInt(int64(withdrawExpired.Amount)), signature, bridge.wallet.GetKeypair().Address(), sequenceNumber)
if err != nil {
return err
Expand All @@ -114,7 +114,7 @@ func (bridge *Bridge) handleWithdrawExpired(ctx context.Context, withdrawExpired
Str("tx_id", fmt.Sprint(withdrawExpired.ID)).
Str("to", withdrawExpired.Target)).
Msgf("a withdraw has proposed with the target stellar address of %s", withdrawExpired.Target)
return nil
return nil
}

// refundable path (starting from tfchain runtime 147)
Expand Down

0 comments on commit f59ddc4

Please sign in to comment.