From 1b43cb6f73fe8d01a1dda2be44e2782e45eb8cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 20 Mar 2024 17:37:43 +0200 Subject: [PATCH] Fix field names. --- src/proto/serializer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proto/serializer.ts b/src/proto/serializer.ts index 9868041f..9e1565b0 100644 --- a/src/proto/serializer.ts +++ b/src/proto/serializer.ts @@ -42,8 +42,8 @@ export class ProtoSerializer { if (transaction.isGuardedTransaction()) { const guardianAddress = transaction.getGuardian(); - protoTransaction.GuardAddr = new Address(guardianAddress.bech32()).pubkey(); - protoTransaction.GuardSignature = transaction.getGuardianSignature(); + protoTransaction.GuardianAddr = new Address(guardianAddress.bech32()).pubkey(); + protoTransaction.GuardianSignature = transaction.getGuardianSignature(); } const encoded = proto.Transaction.encode(protoTransaction).finish();