mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-26 14:45:50 +00:00
Use parseInt() for flag values
This commit is contained in:
@@ -406,7 +406,7 @@ async function createSellOffer() {
|
||||
"Account": wallet.classicAddress,
|
||||
"TokenID": tokenId.value,
|
||||
"Amount": amount.value,
|
||||
"Flags": 1 //parseInt(flags.value)
|
||||
"Flags": parseInt(flags.value)
|
||||
}
|
||||
|
||||
```
|
||||
@@ -541,7 +541,7 @@ async function createBuyOffer() {
|
||||
"Owner": owner.value,
|
||||
"TokenID": tokenId.value,
|
||||
"Amount": amount.value,
|
||||
"Flags": 0 //parseInt(flags.value)
|
||||
"Flags": parseInt(flags.value)
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user