Skip to content

Commit d50edff

Browse files
committed
tapdb: fix comments and args
1 parent a9ea76a commit d50edff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tapdb/asset_minting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ var (
268268
// fails.
269269
ErrBindBatchTx = errors.New("unable to bind batch tx")
270270

271-
// ErrEcodePsbt is returned when serializing a PSBT fails.
271+
// ErrEncodePsbt is returned when serializing a PSBT fails.
272272
ErrEncodePsbt = errors.New("unable to encode psbt")
273273
)
274274

tapdb/assets_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var (
129129
// exactly 32 bytes.
130130
ErrTapscriptRootSize = errors.New("tapscript root invalid: wrong size")
131131

132-
// ErrFetchGenesisAsset is returned when fetching the database ID for an
132+
// ErrFetchGenesisID is returned when fetching the database ID for an
133133
// asset genesis fails.
134134
ErrFetchGenesisID = errors.New("unable to fetch genesis asset")
135135
)

tapdb/assets_store.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,8 +1481,8 @@ func locatorToProofQuery(locator proof.Locator) (FetchAssetProof, error) {
14811481
// the FileArchiver.
14821482
//
14831483
// NOTE: This implements the proof.Archiver interface.
1484-
func (a *AssetStore) FetchIssuanceProof(ctx context.Context, id asset.ID,
1485-
anchorOutpoint wire.OutPoint) (proof.Blob, error) {
1484+
func (a *AssetStore) FetchIssuanceProof(_ context.Context, _ asset.ID,
1485+
_ wire.OutPoint) (proof.Blob, error) {
14861486

14871487
return nil, proof.ErrProofNotFound
14881488
}

0 commit comments

Comments
 (0)