lnd+rpc: update RPC responses to convert mSAT to SAT
This commit is contained in:
9 files changed
+146
-84
No files matched your search
@@ -210,7 +210,7 @@ func lndMain() error {
|
||||
return nil, fmt.Errorf("unable to find channel")
|
||||
},
|
||||
DefaultRoutingPolicy: activeChainControl.routingPolicy,
|
||||
NumRequiredConfs: func(chanAmt btcutil.Amount, pushAmt btcutil.Amount) uint16 {
|
||||
NumRequiredConfs: func(chanAmt btcutil.Amount, pushAmt lnwire.MilliSatoshi) uint16 {
|
||||
// TODO(roasbeef): add configurable mapping
|
||||
// * simple switch initially
|
||||
// * assign coefficient, etc
|
||||
|
||||
Reference in new issue
Block a user