Skip to content

Commit

Permalink
Fix field names.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Mar 20, 2024
1 parent 8fb14f5 commit 1b43cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proto/serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1b43cb6

Please sign in to comment.