We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cd5beb commit 039bd86Copy full SHA for 039bd86
x/liquidation/types/bitcoin.go
@@ -84,7 +84,7 @@ func BuildBatchTransferPsbt(utxos []*btcbridgetypes.UTXO, records []*Liquidation
84
return nil, 0, err
85
}
86
87
- txOuts = append(txOuts, wire.NewTxOut(record.CollateralAmount.Amount.Int64(), pkScript))
+ txOuts = append(txOuts, wire.NewTxOut(record.CollateralAmount.Add(record.BonusAmount).Amount.Int64(), pkScript))
88
89
90
protocolFeeCollectorAddr, err := btcutil.DecodeAddress(protocolFeeCollector, chainCfg)
0 commit comments