Skip to content

Commit

Permalink
Remove remaining createType
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Oct 23, 2023
1 parent 0be585f commit 7aef6c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dripper/polkadot/PolkadotActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,11 @@ export class PolkadotActions {
},
};

const addressHex = polkadotApi.registry.createType("AccountId", address).toHex();
const beneficiary = {
V3: {
interior: {
X1: {
AccountId32: { id: addressHex, network: null },
AccountId32: { id: address, network: null },
},
},
parents: 0,
Expand Down

0 comments on commit 7aef6c6

Please sign in to comment.