Skip to content

Commit 9680624

Browse files
committed
fix: migrate missed %llu in wallet.c to PRIu64
1 parent 3a148d0 commit 9680624

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/wallet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ wallet_craft_tx(struct wallet *wallet,
989989
ASSERT(value == desc->total_value);
990990

991991
if (value + desc->fee > wallet->balance) {
992-
log_warn(LGPFX" insufficient funds: %llu vs %llu (%.8f vs %.8f) fee=%.8f\n",
992+
log_warn(LGPFX" insufficient funds: %" PRIu64 " vs %" PRIu64 " (%.8f vs %.8f) fee=%.8f\n",
993993
value, wallet->balance, value / ONE_BTC,
994994
wallet->balance / ONE_BTC, desc->fee / ONE_BTC);
995995
return 1;

0 commit comments

Comments
 (0)