[bug fix] set floor fees when no estimation from core
This commit is contained in:
parent
8bbee83aac
commit
a287db7cf8
@ -255,8 +255,9 @@ fn faucet_send(
|
|||||||
|
|
||||||
let fee_estimate = shared_daemon
|
let fee_estimate = shared_daemon
|
||||||
.lock_anyhow()?
|
.lock_anyhow()?
|
||||||
.estimate_fee(6)?
|
.estimate_fee(6)
|
||||||
.unwrap_or(Amount::from_sat(1000))
|
.unwrap_or(Some(Amount::from_sat(1000)))
|
||||||
|
.unwrap()
|
||||||
.checked_div(1000)
|
.checked_div(1000)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user