File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -275,9 +275,8 @@ export const BIG_NUMBER_FORMAT = {
275275 prefix : ''
276276}
277277
278- export const UNLIMITED_APPROVAL =
279- '0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe'
280- export const ACCEPTABLE_APPROVAL = '0xffffffffffffffffffffffffffffe'
278+ export const UNLIMITED_APPROVAL = Number . MAX_SAFE_INTEGER
279+
281280export class Client {
282281 private _socket = null
283282 private mode : ClientMode = ClientMode . NONE
@@ -2947,7 +2946,7 @@ export class Client {
29472946
29482947 const approveParams : InputApproveTransaction = {
29492948 minimumQuantity : {
2950- amount : new BigNumber ( ACCEPTABLE_APPROVAL , 16 ) . toString ( ) ,
2949+ amount : new BigNumber ( amount . amount , 16 ) . toString ( ) ,
29512950 assetHash : assetData . hash ,
29522951 blockchain
29532952 } ,
You can’t perform that action at this time.
0 commit comments