Skip to content

Commit a61f92e

Browse files
committed
tapdb: log anchor point in LogAnchorTxConfirm
1 parent 3b5ad1e commit a61f92e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tapdb/assets_store.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,9 +2992,11 @@ 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, "+
2996+
"anchor_point=%v", err,
29962997
spew.Sdump(inputs[idx].ScriptKey),
2997-
spew.Sdump(inputs[idx].AssetID))
2998+
spew.Sdump(inputs[idx].AssetID),
2999+
spew.Sdump(inputs[idx].AnchorPoint))
29983000
}
29993001
}
30003002

0 commit comments

Comments
 (0)