Skip to content

Commit

Permalink
fix: remove signer key from logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Oct 14, 2024
1 parent c328716 commit 4748628
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stacking/stacking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@ async function stackStx(poxInfo: PoxInfo, account: Account, balance: bigint) {
authId,
maxAmount,
};
const { signerPrivateKey, ...restSigArgs } = sigArgs;
account.logger.debug(
{
...stackingArgs,
...sigArgs,
...restSigArgs,
},
`Stack-stx with args:`
);
Expand Down Expand Up @@ -179,12 +180,13 @@ async function stackExtend(poxInfo: PoxInfo, account: Account) {
authId,
maxAmount,
};
const { signerPrivateKey, ...restSigArgs } = sigArgs;
account.logger.debug(
{
stxAddress: account.stxAddress,
account: account.index,
...stackingArgs,
...sigArgs,
...restSigArgs,
},
`Stack-extend with args:`
);
Expand Down

0 comments on commit 4748628

Please sign in to comment.