lnd: fix unconvert warnings

This commit is contained in:
Andrey Samokhvalov
2017-02-23 22:07:01 +03:00
committed by Olaoluwa Osuntokun
parent f2843dd4c9
commit 143a6e01bb
10 changed files with 18 additions and 18 deletions

View File

@ -871,7 +871,7 @@ func (r *rpcServer) savePayment(route *routing.Route, amount btcutil.Amount,
payment := &channeldb.OutgoingPayment{
Invoice: channeldb.Invoice{
Terms: channeldb.ContractTerm{
Value: btcutil.Amount(amount),
Value: amount,
},
CreationDate: time.Now(),
},