Skip to content

Commit

Permalink
fix: consolidate authId types
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Apr 4, 2024
1 parent f700a7f commit 7e0fdc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/stacking/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IntegerType, bytesToHex, hexToBytes, intToBigInt } from '@stacks/common';
import { IntegerType, hexToBytes, intToBigInt } from '@stacks/common';
import { StacksNetwork } from '@stacks/network';
import {
BurnchainRewardListResponse,
Expand Down Expand Up @@ -1571,7 +1571,7 @@ export class StackingClient {
period: number;
signerPrivateKey: StacksPrivateKey;
maxAmount: IntegerType;
authId: number;
authId: IntegerType;
}) {
// todo: in the future add logic to determine if a later version of pox
// needs a different domain and thus use a different `signPox4SignatureHash`
Expand Down
2 changes: 1 addition & 1 deletion packages/stacking/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export interface Pox4SignatureOptions {
/** Maximum amount of uSTX that can be locked during this function call */
maxAmount: IntegerType;
/** Random integer to prevent signature re-use */
authId: number;
authId: IntegerType;
}

/**
Expand Down

0 comments on commit 7e0fdc6

Please sign in to comment.