Skip to content

Commit

Permalink
[PLA-1498] Fixes issue with unsigned extrinsics (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio authored Dec 11, 2023
1 parent 23c8c87 commit 7395a7b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/common/sns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ export class Sns {
DataType: 'String',
StringValue: message.name,
}
attr.Extrinsic = {
DataType: 'String',
StringValue: message.body.extrinsic,

if (message.body.extrinsic) {
attr.Extrinsic = {
DataType: 'String',
StringValue: message.body.extrinsic,
}
}

if (message.body.account || message.body.who) {
Expand Down

0 comments on commit 7395a7b

Please sign in to comment.