Commit 50dba6e 1 parent 7a0177b commit 50dba6e Copy full SHA for 50dba6e
File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
- /* eslint-disable new-cap -- kjifnuwie. */
2
1
import {
3
2
AccountObjectsRequest ,
4
3
Client ,
5
4
EscrowCreate ,
6
5
EscrowFinish ,
7
- ISOTimeToRippleTime ,
6
+ isoTimeToRippleTime ,
8
7
} from '../../dist/npm'
9
8
10
9
const client = new Client ( 'wss://s.altnet.rippletest.net:51233' )
@@ -24,8 +23,7 @@ async function sendEscrow(): Promise<void> {
24
23
)
25
24
26
25
// finish 2 seconds after the escrow is actually created and tx is validated.
27
- const finishAfter = ISOTimeToRippleTime ( Date ( ) ) + 2
28
- console . log ( finishAfter , ISOTimeToRippleTime ( Date ( ) ) , Date ( ) )
26
+ const finishAfter = isoTimeToRippleTime ( Date ( ) ) + 2
29
27
30
28
const createTx : EscrowCreate = {
31
29
TransactionType : 'EscrowCreate' ,
@@ -53,7 +51,6 @@ async function sendEscrow(): Promise<void> {
53
51
console . log ( "Escrow object exists in `wallet1`'s account" )
54
52
console . log ( accountObjects )
55
53
56
- // console.log(finishAfter, ISOTimeToRippleTime(Date()), Date())
57
54
const finishTx : EscrowFinish = {
58
55
TransactionType : 'EscrowFinish' ,
59
56
Account : wallet1 . classicAddress ,
You can’t perform that action at this time.
0 commit comments