diff --git a/address/book.go b/address/book.go index ef5c4b227..cfac6ea5f 100644 --- a/address/book.go +++ b/address/book.go @@ -92,7 +92,7 @@ type Storage interface { // InsertAddrs inserts a series of addresses into the database. InsertAddrs(ctx context.Context, addrs ...AddrWithKeyInfo) error - // QueryAddrs attemps to query for a set of addresses. + // QueryAddrs attempts to query for a set of addresses. QueryAddrs(ctx context.Context, params QueryParams) ([]AddrWithKeyInfo, error) diff --git a/proof/courier.go b/proof/courier.go index d662c40ef..ae323ee08 100644 --- a/proof/courier.go +++ b/proof/courier.go @@ -596,7 +596,7 @@ func (b *BackoffHandler) initialDelay(ctx context.Context, ctx, proofLocator, proofTransferType, ) if err != nil { - return fmt.Errorf("unable to retrieve proof transfer attemps "+ + return fmt.Errorf("unable to retrieve proof transfer attempts "+ "logs: %w", err) } diff --git a/tapfreighter/wallet.go b/tapfreighter/wallet.go index 90cc28fb8..5e6bd0f48 100644 --- a/tapfreighter/wallet.go +++ b/tapfreighter/wallet.go @@ -1700,7 +1700,7 @@ func addAnchorPsbtInputs(btcPkt *psbt.Packet, vPkt *tappsbt.VPacket, case txscript.WitnessV1TaprootTy: weightEstimator.AddP2TROutput() default: - return fmt.Errorf("unknwon pkscript: %x", + return fmt.Errorf("unknown pkscript: %x", txOut.PkScript) } } diff --git a/taprpc/universerpc/universe.proto b/taprpc/universerpc/universe.proto index 1fbfe9da4..3888f46e8 100644 --- a/taprpc/universerpc/universe.proto +++ b/taprpc/universerpc/universe.proto @@ -28,7 +28,7 @@ service Universe { /* tapcli: `universe keys` AssetLeafKeys queries for the set of Universe keys associated with a given asset_id or group_key. Each key takes the form: (outpoint, script_key), - where outpoint is an outpoint in the Bitcoin blockcahin that anchors a + where outpoint is an outpoint in the Bitcoin blockchain that anchors a valid Taproot Asset commitment, and script_key is the script_key of the asset within the Taproot Asset commitment for the given asset_id or group_key. diff --git a/taprpc/universerpc/universe.swagger.json b/taprpc/universerpc/universe.swagger.json index 23f8bdfcd..72c7db9f3 100644 --- a/taprpc/universerpc/universe.swagger.json +++ b/taprpc/universerpc/universe.swagger.json @@ -183,7 +183,7 @@ }, "/v1/taproot-assets/universe/keys/asset-id/{id.asset_id_str}": { "get": { - "summary": "tapcli: `universe keys`\nAssetLeafKeys queries for the set of Universe keys associated with a given\nasset_id or group_key. Each key takes the form: (outpoint, script_key),\nwhere outpoint is an outpoint in the Bitcoin blockcahin that anchors a\nvalid Taproot Asset commitment, and script_key is the script_key of\nthe asset within the Taproot Asset commitment for the given asset_id or\ngroup_key.", + "summary": "tapcli: `universe keys`\nAssetLeafKeys queries for the set of Universe keys associated with a given\nasset_id or group_key. Each key takes the form: (outpoint, script_key),\nwhere outpoint is an outpoint in the Bitcoin blockchain that anchors a\nvalid Taproot Asset commitment, and script_key is the script_key of\nthe asset within the Taproot Asset commitment for the given asset_id or\ngroup_key.", "operationId": "Universe_AssetLeafKeys", "responses": { "200": { @@ -278,7 +278,7 @@ }, "/v1/taproot-assets/universe/keys/group-key/{id.group_key_str}": { "get": { - "summary": "tapcli: `universe keys`\nAssetLeafKeys queries for the set of Universe keys associated with a given\nasset_id or group_key. Each key takes the form: (outpoint, script_key),\nwhere outpoint is an outpoint in the Bitcoin blockcahin that anchors a\nvalid Taproot Asset commitment, and script_key is the script_key of\nthe asset within the Taproot Asset commitment for the given asset_id or\ngroup_key.", + "summary": "tapcli: `universe keys`\nAssetLeafKeys queries for the set of Universe keys associated with a given\nasset_id or group_key. Each key takes the form: (outpoint, script_key),\nwhere outpoint is an outpoint in the Bitcoin blockchain that anchors a\nvalid Taproot Asset commitment, and script_key is the script_key of\nthe asset within the Taproot Asset commitment for the given asset_id or\ngroup_key.", "operationId": "Universe_AssetLeafKeys2", "responses": { "200": { diff --git a/taprpc/universerpc/universe_grpc.pb.go b/taprpc/universerpc/universe_grpc.pb.go index 02fdb62bf..5dc914be8 100644 --- a/taprpc/universerpc/universe_grpc.pb.go +++ b/taprpc/universerpc/universe_grpc.pb.go @@ -33,7 +33,7 @@ type UniverseClient interface { // tapcli: `universe keys` // AssetLeafKeys queries for the set of Universe keys associated with a given // asset_id or group_key. Each key takes the form: (outpoint, script_key), - // where outpoint is an outpoint in the Bitcoin blockcahin that anchors a + // where outpoint is an outpoint in the Bitcoin blockchain that anchors a // valid Taproot Asset commitment, and script_key is the script_key of // the asset within the Taproot Asset commitment for the given asset_id or // group_key. @@ -286,7 +286,7 @@ type UniverseServer interface { // tapcli: `universe keys` // AssetLeafKeys queries for the set of Universe keys associated with a given // asset_id or group_key. Each key takes the form: (outpoint, script_key), - // where outpoint is an outpoint in the Bitcoin blockcahin that anchors a + // where outpoint is an outpoint in the Bitcoin blockchain that anchors a // valid Taproot Asset commitment, and script_key is the script_key of // the asset within the Taproot Asset commitment for the given asset_id or // group_key.