pay: Let sendpay modify the recorded msatoshi of payments.

This commit is contained in:
ZmnSCPxj
2018-03-22 12:49:09 +00:00
committed by Christian Decker
parent 1fe79df867
commit bc5fc692d1
5 changed files with 56 additions and 13 deletions

View File

@@ -475,6 +475,7 @@ static void json_pay_getroute_reply(struct subd *gossip UNUSED,
pay->in_sendpay = true;
send_payment(pay->try_parent,
pay->cmd->ld, &pay->payment_hash, route,
pay->msatoshi,
&json_pay_sendpay_resume, pay);
}