Skip to content

Commit

Permalink
fix(sdk-coin-dot): add logging to troublshoot DOT staking
Browse files Browse the repository at this point in the history
  • Loading branch information
noel-bitgo committed Aug 10, 2023
1 parent fce9fef commit 902558a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/sdk-coin-dot/src/lib/stakingBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class StakingBuilder extends TransactionBuilder {
if (this._method?.name === MethodNames.Bond) {
const txMethod = this._method.args as StakeArgs;
this.amount(txMethod.value);
console.log('[Dot staking debug] calling owner: ', JSON.stringify(txMethod));
this.owner({
address: utils.decodeDotAddress(
txMethod.controller.id,
Expand Down

0 comments on commit 902558a

Please sign in to comment.