We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a919a16 commit 169974cCopy full SHA for 169974c
packages/sdk/src/encode/encode.ts
@@ -69,7 +69,7 @@ const preparePayloadSignatures = (tx: Transaction) => {
69
return tx.payloadSigs
70
?.map((sig: Sig) => {
71
return {
72
- signerIndex: signers.get(sig.address) || "",
+ signerIndex: signers.get(sansPrefix(sig.address)) || "",
73
keyId: sig.keyId,
74
sig: sig.sig,
75
}
@@ -116,7 +116,7 @@ const prepareVoucher = (voucher: Voucher) => {
116
const prepareSigs = (sigs: Sig[]) => {
117
return sigs
118
.map(({address, keyId, sig}) => {
119
- return {signerIndex: signers.get(address) || "", keyId, sig}
+ return {signerIndex: signers.get(sansPrefix(address)) || "", keyId, sig}
120
})
121
.sort((a, b) => {
122
if (a.signerIndex > b.signerIndex) return 1
0 commit comments