@@ -7616,7 +7616,7 @@ func (r *rpcServer) SendPayment(req *tchrpc.SendPaymentRequest,
76167616 }
76177617
76187618 // Unmarshall the accepted quote's asset rate.
7619- assetRate , err := rfqrpc . UnmarshalFixedPoint (
7619+ assetRate , err := rpcutils . UnmarshalRfqFixedPoint (
76207620 acceptedQuote .BidAssetRate ,
76217621 )
76227622 if err != nil {
@@ -7777,7 +7777,7 @@ func (r *rpcServer) parseRequest(
77777777func checkOverpayment (quote * rfqrpc.PeerAcceptedSellQuote ,
77787778 paymentAmount lnwire.MilliSatoshi , allowOverpay bool ) error {
77797779
7780- rateFP , err := rfqrpc . UnmarshalFixedPoint (quote .BidAssetRate )
7780+ rateFP , err := rpcutils . UnmarshalRfqFixedPoint (quote .BidAssetRate )
77817781 if err != nil {
77827782 return fmt .Errorf ("cannot unmarshal asset rate: %w" , err )
77837783 }
@@ -8118,7 +8118,7 @@ func validateInvoiceAmount(acceptedQuote *rfqrpc.PeerAcceptedBuyQuote,
81188118 // that we need to pay. We can now update the invoice with this amount.
81198119 //
81208120 // First, un-marshall the ask asset rate from the accepted quote.
8121- askAssetRate , err := rfqrpc . UnmarshalFixedPoint (
8121+ askAssetRate , err := rpcutils . UnmarshalRfqFixedPoint (
81228122 acceptedQuote .AskAssetRate ,
81238123 )
81248124 if err != nil {
0 commit comments