@@ -7561,7 +7561,7 @@ func (r *rpcServer) SendPayment(req *tchrpc.SendPaymentRequest,
7561
7561
}
7562
7562
7563
7563
// Unmarshall the accepted quote's asset rate.
7564
- assetRate , err := rfqrpc . UnmarshalFixedPoint (
7564
+ assetRate , err := rpcutils . UnmarshalRfqFixedPoint (
7565
7565
acceptedQuote .BidAssetRate ,
7566
7566
)
7567
7567
if err != nil {
@@ -7722,7 +7722,7 @@ func (r *rpcServer) parseRequest(
7722
7722
func checkOverpayment (quote * rfqrpc.PeerAcceptedSellQuote ,
7723
7723
paymentAmount lnwire.MilliSatoshi , allowOverpay bool ) error {
7724
7724
7725
- rateFP , err := rfqrpc . UnmarshalFixedPoint (quote .BidAssetRate )
7725
+ rateFP , err := rpcutils . UnmarshalRfqFixedPoint (quote .BidAssetRate )
7726
7726
if err != nil {
7727
7727
return fmt .Errorf ("cannot unmarshal asset rate: %w" , err )
7728
7728
}
@@ -8063,7 +8063,7 @@ func validateInvoiceAmount(acceptedQuote *rfqrpc.PeerAcceptedBuyQuote,
8063
8063
// that we need to pay. We can now update the invoice with this amount.
8064
8064
//
8065
8065
// First, un-marshall the ask asset rate from the accepted quote.
8066
- askAssetRate , err := rfqrpc . UnmarshalFixedPoint (
8066
+ askAssetRate , err := rpcutils . UnmarshalRfqFixedPoint (
8067
8067
acceptedQuote .AskAssetRate ,
8068
8068
)
8069
8069
if err != nil {
0 commit comments