mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
mod: bump tapd, add replace directive to compile tapd
Because tapd now uses a fork of the SQL migration library, which can only be used through a replace directive which isn't populated transitively to other dependent projects, we now need to copy that directive to every project.
This commit is contained in:
parent
2bc5df281a
commit
059186568f
5 changed files with 54 additions and 60 deletions
|
|
@ -10,6 +10,7 @@ import (
|
|||
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/lightninglabs/taproot-assets/rfqmath"
|
||||
"github.com/lightninglabs/taproot-assets/rpcutils"
|
||||
"github.com/lightninglabs/taproot-assets/tapcfg"
|
||||
"github.com/lightninglabs/taproot-assets/taprpc"
|
||||
"github.com/lightninglabs/taproot-assets/taprpc/priceoraclerpc"
|
||||
|
|
@ -242,7 +243,7 @@ func (c *TapdClient) GetAssetPrice(ctx context.Context, assetID string,
|
|||
func getSatsFromAssetAmt(assetAmt uint64, assetRate *rfqrpc.FixedPoint) (
|
||||
btcutil.Amount, error) {
|
||||
|
||||
rateFP, err := rfqrpc.UnmarshalFixedPoint(assetRate)
|
||||
rateFP, err := rpcutils.UnmarshalRfqFixedPoint(assetRate)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("cannot unmarshal asset rate: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue