Skip to content

Commit 3757262

Browse files
author
Robyn Ffrancon
authored
Merge pull request #686 from xiaolou86/main
chore: fix typos
2 parents 61eeefb + e44441e commit 3757262

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

address/book.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ type Storage interface {
9292
// InsertAddrs inserts a series of addresses into the database.
9393
InsertAddrs(ctx context.Context, addrs ...AddrWithKeyInfo) error
9494

95-
// QueryAddrs attemps to query for a set of addresses.
95+
// QueryAddrs attempts to query for a set of addresses.
9696
QueryAddrs(ctx context.Context,
9797
params QueryParams) ([]AddrWithKeyInfo, error)
9898

proof/courier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ func (b *BackoffHandler) initialDelay(ctx context.Context,
596596
ctx, proofLocator, proofTransferType,
597597
)
598598
if err != nil {
599-
return fmt.Errorf("unable to retrieve proof transfer attemps "+
599+
return fmt.Errorf("unable to retrieve proof transfer attempts "+
600600
"logs: %w", err)
601601
}
602602

tapfreighter/wallet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1700,7 +1700,7 @@ func addAnchorPsbtInputs(btcPkt *psbt.Packet, vPkt *tappsbt.VPacket,
17001700
case txscript.WitnessV1TaprootTy:
17011701
weightEstimator.AddP2TROutput()
17021702
default:
1703-
return fmt.Errorf("unknwon pkscript: %x",
1703+
return fmt.Errorf("unknown pkscript: %x",
17041704
txOut.PkScript)
17051705
}
17061706
}

taprpc/universerpc/universe.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ service Universe {
2828
/* tapcli: `universe keys`
2929
AssetLeafKeys queries for the set of Universe keys associated with a given
3030
asset_id or group_key. Each key takes the form: (outpoint, script_key),
31-
where outpoint is an outpoint in the Bitcoin blockcahin that anchors a
31+
where outpoint is an outpoint in the Bitcoin blockchain that anchors a
3232
valid Taproot Asset commitment, and script_key is the script_key of
3333
the asset within the Taproot Asset commitment for the given asset_id or
3434
group_key.

taprpc/universerpc/universe.swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
},
184184
"/v1/taproot-assets/universe/keys/asset-id/{id.asset_id_str}": {
185185
"get": {
186-
"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.",
186+
"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.",
187187
"operationId": "Universe_AssetLeafKeys",
188188
"responses": {
189189
"200": {
@@ -278,7 +278,7 @@
278278
},
279279
"/v1/taproot-assets/universe/keys/group-key/{id.group_key_str}": {
280280
"get": {
281-
"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.",
281+
"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.",
282282
"operationId": "Universe_AssetLeafKeys2",
283283
"responses": {
284284
"200": {

taprpc/universerpc/universe_grpc.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)