Update signingcosmwasmclient.spec.ts

This commit is contained in:
leopardracer 2025-06-12 15:38:17 +03:00 committed by GitHub
parent dd295eca87
commit c333813186
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1468,7 +1468,7 @@ describe("SigningCosmWasmClient", () => {
encode(message: CustomMsgDelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
writer.uint32(10).string(message.customDelegatorAddress ?? "");
writer.uint32(18).string(message.customValidatorAddress ?? "");
if (message.customAmount !== undefined && message.customAmount !== undefined) {
if (message.customAmount !== undefined) {
Coin.encode(message.customAmount, writer.uint32(26).fork()).ldelim();
}
return writer;