Skip to content
Snippets Groups Projects

Strip bnb-chain SDK from non-BNB codebase

Merged Pluto requested to merge strip-bnb-sdk-deps into develop
All threads resolved!
7 files
+ 121
28
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -587,6 +587,8 @@ func (c *Client) SignTx(tx stypes.TxOutItem, height int64) ([]byte, []byte, *sty
@@ -587,6 +587,8 @@ func (c *Client) SignTx(tx stypes.TxOutItem, height int64) ([]byte, []byte, *sty
if scheduledMaxFee.Cmp(estimatedFee) < 0 {
if scheduledMaxFee.Cmp(estimatedFee) < 0 {
c.logger.Warn().
c.logger.Warn().
Stringer("in_hash", tx.InHash).
Stringer("in_hash", tx.InHash).
 
Stringer("rate", gasRate).
 
Uint64("estimated_gas", estimatedGas).
Str("estimated_fee", estimatedFee.String()).
Str("estimated_fee", estimatedFee.String()).
Str("scheduled_max_fee", scheduledMaxFee.String()).
Str("scheduled_max_fee", scheduledMaxFee.String()).
Msg("max gas exceeded, aborting to let thornode reschedule")
Msg("max gas exceeded, aborting to let thornode reschedule")
Loading