Skip to content

Commit

Permalink
Merge pull request lightninglabs#686 from xiaolou86/main
Browse files Browse the repository at this point in the history
chore: fix typos
  • Loading branch information
ffranr authored Nov 21, 2023
2 parents 61eeefb + e44441e commit 3757262
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion address/book.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion proof/courier.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
2 changes: 1 addition & 1 deletion tapfreighter/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
2 changes: 1 addition & 1 deletion taprpc/universerpc/universe.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions taprpc/universerpc/universe.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions taprpc/universerpc/universe_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3757262

Please sign in to comment.