Skip to content

Commit a2698f7

Browse files
committed
tapdb: log anchor point in LogAnchorTxConfirm
1 parent 292993e commit a2698f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tapdb/assets_store.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,9 +2992,10 @@ func (a *AssetStore) LogAnchorTxConfirm(ctx context.Context,
29922992
)
29932993
if err != nil {
29942994
return fmt.Errorf("unable to set asset spent: "+
2995-
"%w, script_key=%v, asset_id=%v", err,
2995+
"%w, script_key=%v, asset_id=%v, anchor_point=%v", err,
29962996
spew.Sdump(inputs[idx].ScriptKey),
2997-
spew.Sdump(inputs[idx].AssetID))
2997+
spew.Sdump(inputs[idx].AssetID),
2998+
spew.Sdump(inputs[idx].AnchorPoint))
29982999
}
29993000
}
30003001

0 commit comments

Comments
 (0)