Merge pull request #2155 from joostjager/return-tx

lnwallet: update to new SendOutputs signature
This commit is contained in:
Johan T. Halseth authored and GitHub committed 2018-11-13 16:39:54 +01:00
commit 776059bdab
7 files changed
+34 -31

No files matched your search

+7 -1
View File
@@ -408,7 +408,13 @@ func (r *rpcServer) sendCoinsOnChain(paymentMap map[string]int64,
return nil, err
}
return r.server.cc.wallet.SendOutputs(outputs, feeRate)
tx, err := r.server.cc.wallet.SendOutputs(outputs, feeRate)
if err != nil {
return nil, err
}
txHash := tx.TxHash()
return &txHash, err
}
// determineFeePerKw will determine the fee in sat/kw that should be paid given