diff --git a/wallet/wallet.c b/wallet/wallet.c index 326ebc1da..3fdc8ee9d 100644 --- a/wallet/wallet.c +++ b/wallet/wallet.c @@ -73,9 +73,15 @@ struct wallet *wallet_new(struct lightningd *ld, struct timers *timers) return wallet; } -/* This can fail if we've already seen UTXO. */ -bool wallet_add_utxo(struct wallet *w, struct utxo *utxo, - enum wallet_output_type type) +/** + * wallet_add_utxo - Register an UTXO which we (partially) own + * + * Add an UTXO to the set of outputs we care about. + * + * This can fail if we've already seen UTXO. + */ +static bool wallet_add_utxo(struct wallet *w, struct utxo *utxo, + enum wallet_output_type type) { struct db_stmt *stmt; diff --git a/wallet/wallet.h b/wallet/wallet.h index 3eef562a9..19ef4fe58 100644 --- a/wallet/wallet.h +++ b/wallet/wallet.h @@ -333,14 +333,6 @@ struct wallet_transaction { */ struct wallet *wallet_new(struct lightningd *ld, struct timers *timers); -/** - * wallet_add_utxo - Register an UTXO which we (partially) own - * - * Add an UTXO to the set of outputs we care about. - */ -bool wallet_add_utxo(struct wallet *w, struct utxo *utxo, - enum wallet_output_type type); - /** * wallet_confirm_tx - Confirm a tx which contains a UTXO. */