mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
Read synchronized relay fee once when checking outputs.
This commit is contained in:
parent
d09c2a84c1
commit
24fc8bb6c5
1 changed files with 2 additions and 1 deletions
|
@ -2025,8 +2025,9 @@ func (w *Wallet) SendOutputs(outputs []*wire.TxOut, account uint32,
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relayFee := w.RelayFee()
|
||||||
for _, output := range outputs {
|
for _, output := range outputs {
|
||||||
err = txrules.CheckOutput(output, w.RelayFee())
|
err = txrules.CheckOutput(output, relayFee)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue