mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
update reciprocal expiry date
This commit is contained in:
@@ -828,7 +828,8 @@ async function oPcreateSellOffer() {
|
||||
document.getElementById('operationalResultField').value = results
|
||||
|
||||
//------------------------------------- Prepare Expiration Date
|
||||
var expirationDate = null
|
||||
|
||||
var expirationDate = null
|
||||
if (operationalExpirationField.value !="") {
|
||||
var days = document.getElementById('operationalExpirationField').value
|
||||
var secondsInDay = 86400
|
||||
@@ -836,7 +837,7 @@ async function oPcreateSellOffer() {
|
||||
var currentTimestamp = (new Date() / 1000) - rippleEpoch
|
||||
expirationDate = parseInt(Math.floor(currentTimestamp + (days*secondsInDay)))
|
||||
}
|
||||
// Prepare transaction -------------------------------------------------------
|
||||
// Prepare transaction -------------------------------------------------------
|
||||
let transactionBlob = {
|
||||
"TransactionType": "NFTokenCreateOffer",
|
||||
"Account": operational_wallet.classicAddress,
|
||||
|
||||
Reference in New Issue
Block a user