lnwallet: update to new SendOutputs signature

This commit is contained in:
Joost Jager committed 2018-11-10 07:57:19 +01:00
1 parent c0fadcc89b
commit e14678030c
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