mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
bitcoind: peer argument to bitcoind_sendrawtx is unused
This was a bit misleading, and we were passing in NULL sometimes anyway. Removed unused argument.
This commit is contained in:
committed by
Rusty Russell
parent
1522eee528
commit
28030c3d6b
@@ -52,15 +52,14 @@ void bitcoind_estimate_fee_(struct bitcoind *bitcoind,
|
||||
u64), \
|
||||
(arg))
|
||||
|
||||
void bitcoind_sendrawtx_(struct peer *peer,
|
||||
struct bitcoind *bitcoind,
|
||||
void bitcoind_sendrawtx_(struct bitcoind *bitcoind,
|
||||
const char *hextx,
|
||||
void (*cb)(struct bitcoind *bitcoind,
|
||||
int exitstatus, const char *msg, void *),
|
||||
void *arg);
|
||||
|
||||
#define bitcoind_sendrawtx(peer_, bitcoind_, hextx, cb, arg) \
|
||||
bitcoind_sendrawtx_((peer_), (bitcoind_), (hextx), \
|
||||
#define bitcoind_sendrawtx(bitcoind_, hextx, cb, arg) \
|
||||
bitcoind_sendrawtx_((bitcoind_), (hextx), \
|
||||
typesafe_cb_preargs(void, void *, \
|
||||
(cb), (arg), \
|
||||
struct bitcoind *, \
|
||||
|
||||
Reference in New Issue
Block a user