Merge pull request #2155 from joostjager/return-tx
lnwallet: update to new SendOutputs signature
This commit is contained in:
7 files changed
+34
-31
No files matched your search
+7
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user