Skip to content

Commit

Permalink
Merge pull request #3797 from BitGo/EA-1060
Browse files Browse the repository at this point in the history
fix(sdk-coin-dot): add logging to troublshoot DOT staking
  • Loading branch information
noel-bitgo committed Aug 10, 2023
2 parents fce9fef + 902558a commit cca61ea
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 cca61ea

Please sign in to comment.