Merge pull request #7451 from CRex15/walletkit+labeltransaction

Add note to LabelTransaction [skip ci]
This commit is contained in:
Oliver Gugger 2023-03-06 18:54:23 +01:00 committed by GitHub
commit 54a1661c45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -3023,7 +3023,8 @@ type LabelTransactionRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The txid of the transaction to label.
// The txid of the transaction to label. Note: When using gRPC, the bytes
// must be in little-endian (reverse) order.
Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
// The label to add to the transaction, limited to 500 characters.
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`

View file

@ -982,7 +982,8 @@ message ListSweepsResponse {
}
message LabelTransactionRequest {
// The txid of the transaction to label.
// The txid of the transaction to label. Note: When using gRPC, the bytes
// must be in little-endian (reverse) order.
bytes txid = 1;
// The label to add to the transaction, limited to 500 characters.

View file

@ -1525,7 +1525,7 @@
"txid": {
"type": "string",
"format": "byte",
"description": "The txid of the transaction to label."
"description": "The txid of the transaction to label. Note: When using gRPC, the bytes\nmust be in little-endian (reverse) order."
},
"label": {
"type": "string",