From 9f2995251eaa8e43a19f0930458c19ed8433755f Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Mon, 29 Apr 2024 19:14:27 +0800 Subject: [PATCH] lnrpc: fix typo --- lnrpc/walletrpc/walletkit.pb.go | 2 +- lnrpc/walletrpc/walletkit.proto | 4 ++-- lnrpc/walletrpc/walletkit.swagger.json | 4 ++-- lnrpc/walletrpc/walletkit_grpc.pb.go | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lnrpc/walletrpc/walletkit.pb.go b/lnrpc/walletrpc/walletkit.pb.go index 554b27dd5..bc01442e5 100644 --- a/lnrpc/walletrpc/walletkit.pb.go +++ b/lnrpc/walletrpc/walletkit.pb.go @@ -3068,7 +3068,7 @@ type BumpFeeRequest struct { Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // Optional. The deadline in number of blocks that the input should be spent // within. When not set, for new inputs, the default value (1008) is used; - // for exiting inputs, their current values will be retained. + // for existing inputs, their current values will be retained. TargetConf uint32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // Deprecated, use sat_per_vbyte. // The fee rate, expressed in sat/vbyte, that should be used to spend the input diff --git a/lnrpc/walletrpc/walletkit.proto b/lnrpc/walletrpc/walletkit.proto index b6d09c64b..b86180344 100644 --- a/lnrpc/walletrpc/walletkit.proto +++ b/lnrpc/walletrpc/walletkit.proto @@ -283,7 +283,7 @@ service WalletKit { /* lncli: `wallet labeltx` LabelTransaction adds a label to a transaction. If the transaction already has a label the call will fail unless the overwrite bool is set. This will - overwrite the exiting transaction label. Labels must not be empty, and + overwrite the existing transaction label. Labels must not be empty, and cannot exceed 500 characters. */ rpc LabelTransaction (LabelTransactionRequest) @@ -1176,7 +1176,7 @@ message BumpFeeRequest { // Optional. The deadline in number of blocks that the input should be spent // within. When not set, for new inputs, the default value (1008) is used; - // for exiting inputs, their current values will be retained. + // for existing inputs, their current values will be retained. uint32 target_conf = 2; /* diff --git a/lnrpc/walletrpc/walletkit.swagger.json b/lnrpc/walletrpc/walletkit.swagger.json index f21894dd2..1e8286b1b 100644 --- a/lnrpc/walletrpc/walletkit.swagger.json +++ b/lnrpc/walletrpc/walletkit.swagger.json @@ -768,7 +768,7 @@ }, "/v2/wallet/tx/label": { "post": { - "summary": "lncli: `wallet labeltx`\nLabelTransaction adds a label to a transaction. If the transaction already\nhas a label the call will fail unless the overwrite bool is set. This will\noverwrite the exiting transaction label. Labels must not be empty, and\ncannot exceed 500 characters.", + "summary": "lncli: `wallet labeltx`\nLabelTransaction adds a label to a transaction. If the transaction already\nhas a label the call will fail unless the overwrite bool is set. This will\noverwrite the existing transaction label. Labels must not be empty, and\ncannot exceed 500 characters.", "operationId": "WalletKit_LabelTransaction", "responses": { "200": { @@ -1360,7 +1360,7 @@ "target_conf": { "type": "integer", "format": "int64", - "description": "Optional. The deadline in number of blocks that the input should be spent\nwithin. When not set, for new inputs, the default value (1008) is used;\nfor exiting inputs, their current values will be retained." + "description": "Optional. The deadline in number of blocks that the input should be spent\nwithin. When not set, for new inputs, the default value (1008) is used;\nfor existing inputs, their current values will be retained." }, "sat_per_byte": { "type": "integer", diff --git a/lnrpc/walletrpc/walletkit_grpc.pb.go b/lnrpc/walletrpc/walletkit_grpc.pb.go index 148457162..c49e2bdb7 100644 --- a/lnrpc/walletrpc/walletkit_grpc.pb.go +++ b/lnrpc/walletrpc/walletkit_grpc.pb.go @@ -216,7 +216,7 @@ type WalletKitClient interface { // lncli: `wallet labeltx` // LabelTransaction adds a label to a transaction. If the transaction already // has a label the call will fail unless the overwrite bool is set. This will - // overwrite the exiting transaction label. Labels must not be empty, and + // overwrite the existing transaction label. Labels must not be empty, and // cannot exceed 500 characters. LabelTransaction(ctx context.Context, in *LabelTransactionRequest, opts ...grpc.CallOption) (*LabelTransactionResponse, error) // lncli: `wallet psbt fund` @@ -727,7 +727,7 @@ type WalletKitServer interface { // lncli: `wallet labeltx` // LabelTransaction adds a label to a transaction. If the transaction already // has a label the call will fail unless the overwrite bool is set. This will - // overwrite the exiting transaction label. Labels must not be empty, and + // overwrite the existing transaction label. Labels must not be empty, and // cannot exceed 500 characters. LabelTransaction(context.Context, *LabelTransactionRequest) (*LabelTransactionResponse, error) // lncli: `wallet psbt fund`