Skip to content

Commit b911cb0

Browse files
authored
Fix trade coin invalid nonce when signing typed data, owner and token parameters were mixed (#534)
1 parent c976b83 commit b911cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/coins-sdk/src/actions/tradeCoin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ export async function tradeCoin({
130130
address: permit2Address[base.id],
131131
functionName: "allowance",
132132
args: [
133-
permit.permit.details.token as Address,
134133
typeof account === "string" ? account : account.address,
134+
permit.permit.details.token as Address,
135135
permit.permit.spender as Address,
136136
],
137137
});

0 commit comments

Comments
 (0)