record: stricter type for PaymentRelayInfo.BaseFee
In this commit, we update the PaymentRelayInfo struct's BaseFee member to use a stricter type (lnwire.MilliSatoshi) instead of an ambigious uint32.
This commit is contained in:
5 files changed
+22
-10
No files matched your search
@@ -111,7 +111,7 @@ func TestForwardingAmountCalc(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
incomingAmount lnwire.MilliSatoshi
|
||||
baseFee uint32
|
||||
baseFee lnwire.MilliSatoshi
|
||||
proportional uint32
|
||||
forwardAmount lnwire.MilliSatoshi
|
||||
expectErr bool
|
||||
|
||||
Reference in new issue
Block a user