mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Add null check
This commit is contained in:
parent
f0bf3daddf
commit
3441286d46
@ -559,7 +559,7 @@ public abstract class WalletService {
|
||||
int size = tx.bitcoinSerialize().length;
|
||||
log.info("\n" + tracePrefix + ":\n" +
|
||||
tx.toString() +
|
||||
"Satoshi/byte: " + tx.getFee().value / size +
|
||||
"Satoshi/byte: " + (tx.getFee() != null ? tx.getFee().value / size : "No fee set yet") +
|
||||
" (size: " + size + ")");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user