Skip to content

Commit a82a7b1

Browse files
Fix ERC20.SetAllowance typo
1 parent 4b0aa23 commit a82a7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Thirdweb/Scripts/ERC20.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public async Task<CurrencyValue> TotalSupply()
8181
/// <summary>
8282
/// Set how much allowance the given address is allowed to spend on behalf of the connected wallet
8383
/// </summary>
84-
public async Task<TransactionResult> SetAllowance(string spender, bool amount)
84+
public async Task<TransactionResult> SetAllowance(string spender, string amount)
8585
{
8686
return await Bridge.InvokeRoute<TransactionResult>(getRoute("setAllowance"), Utils.ToJsonStringArray(spender, amount));
8787
}

0 commit comments

Comments
 (0)