Skip to content

Commit

Permalink
remove another unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Nov 19, 2024
1 parent aed8a90 commit 311764a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions itest/lntest/cln_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ func (n *ClnNode) Pay(bolt11 string) *PayResult {

return &PayResult{
PaymentHash: resp.PaymentHash,
AmountSentMsat: resp.AmountSentMsat.Msat,
PaymentPreimage: resp.PaymentPreimage,
}
}
Expand Down Expand Up @@ -678,7 +677,6 @@ func (n *ClnNode) PayViaRoute(

return &PayResult{
PaymentHash: w.PaymentHash,
AmountSentMsat: w.AmountSentMsat.Msat,
PaymentPreimage: w.PaymentPreimage,
}, nil
}
Expand Down
1 change: 0 additions & 1 deletion itest/lntest/lightning_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ type CreateInvoiceResult struct {

type PayResult struct {
PaymentHash []byte
AmountSentMsat uint64
PaymentPreimage []byte
}

Expand Down
2 changes: 0 additions & 2 deletions itest/lntest/lnd_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ func (n *LndNode) Pay(bolt11 string) *PayResult {

return &PayResult{
PaymentHash: resp.PaymentHash,
AmountSentMsat: uint64(resp.PaymentRoute.TotalAmtMsat),
PaymentPreimage: resp.PaymentPreimage,
}
}
Expand Down Expand Up @@ -613,7 +612,6 @@ func (n *LndNode) PayViaRoute(amountMsat uint64, paymentHash []byte, paymentSecr

return &PayResult{
PaymentHash: resp.PaymentHash,
AmountSentMsat: uint64(resp.PaymentRoute.TotalAmtMsat),
PaymentPreimage: resp.PaymentPreimage,
}, nil
}
Expand Down

0 comments on commit 311764a

Please sign in to comment.