Update signingstargateclient.spec.ts

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

View File

@ -1080,7 +1080,7 @@ describe("SigningStargateClient", () => {
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;