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:
Oliver Gugger 2025-04-25 10:53:16 +02:00
parent 2bc5df281a
commit 059186568f
No known key found for this signature in database
GPG key ID: 8E4256593F177720
5 changed files with 54 additions and 60 deletions

View file

@ -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)
}