mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
add space at eof
This commit is contained in:
@@ -71,4 +71,4 @@ async function claimPayChannel(): Promise<void> {
|
|||||||
console.log(await client.getXrpBalance(wallet2.classicAddress))
|
console.log(await client.getXrpBalance(wallet2.classicAddress))
|
||||||
|
|
||||||
await client.disconnect()
|
await client.disconnect()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,4 +37,4 @@ async function getTransaction(): Promise<void> {
|
|||||||
await client.disconnect()
|
await client.disconnect()
|
||||||
}
|
}
|
||||||
|
|
||||||
void getTransaction()
|
void getTransaction()
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ if transactions:
|
|||||||
tx_response = client.request(tx_request)
|
tx_response = client.request(tx_request)
|
||||||
print(tx_response)
|
print(tx_response)
|
||||||
else:
|
else:
|
||||||
print("No transactions were found on the ledger!")
|
print("No transactions were found on the ledger!")
|
||||||
|
|||||||
@@ -37,4 +37,4 @@ async function getTransaction(): Promise<void> {
|
|||||||
await client.disconnect()
|
await client.disconnect()
|
||||||
}
|
}
|
||||||
|
|
||||||
void getTransaction()
|
void getTransaction()
|
||||||
|
|||||||
@@ -72,4 +72,4 @@ else:
|
|||||||
"The multisigned transaction was rejected by rippled."
|
"The multisigned transaction was rejected by rippled."
|
||||||
"Here's the response from rippled:"
|
"Here's the response from rippled:"
|
||||||
)
|
)
|
||||||
print(multisigned_tx_response)
|
print(multisigned_tx_response)
|
||||||
|
|||||||
@@ -88,4 +88,4 @@ async function partialPayment(): Promise<void> {
|
|||||||
|
|
||||||
await client.disconnect()
|
await client.disconnect()
|
||||||
}
|
}
|
||||||
void partialPayment()
|
void partialPayment()
|
||||||
|
|||||||
@@ -93,4 +93,4 @@ print(partial_payment_response)
|
|||||||
# Tried sending 4000 of 3840 FOO -> wallet1 and wallet2 should have 0 FOO
|
# Tried sending 4000 of 3840 FOO -> wallet1 and wallet2 should have 0 FOO
|
||||||
print("Balances after Partial Payment, when wallet2 tried to send 4000 FOOs")
|
print("Balances after Partial Payment, when wallet2 tried to send 4000 FOOs")
|
||||||
print((client.request(AccountLines(account=wallet1.classic_address))).result["lines"])
|
print((client.request(AccountLines(account=wallet1.classic_address))).result["lines"])
|
||||||
print((client.request(AccountLines(account=wallet2.classic_address))).result["lines"])
|
print((client.request(AccountLines(account=wallet2.classic_address))).result["lines"])
|
||||||
|
|||||||
@@ -46,4 +46,4 @@ async function createTxWithPaths(): Promise<void> {
|
|||||||
await client.disconnect()
|
await client.disconnect()
|
||||||
}
|
}
|
||||||
|
|
||||||
void createTxWithPaths()
|
void createTxWithPaths()
|
||||||
|
|||||||
@@ -47,4 +47,4 @@ payment_tx = Payment(
|
|||||||
paths=paths,
|
paths=paths,
|
||||||
)
|
)
|
||||||
|
|
||||||
print("signed: ", autofill_and_sign(payment_tx, wallet, client))
|
print("signed: ", autofill_and_sign(payment_tx, wallet, client))
|
||||||
|
|||||||
@@ -46,4 +46,4 @@ print("Validated:", tx_response.result["validated"])
|
|||||||
# Check balances after 1000 was sent from wallet1 to wallet2
|
# Check balances after 1000 was sent from wallet1 to wallet2
|
||||||
print("Balances of wallets after Payment tx:")
|
print("Balances of wallets after Payment tx:")
|
||||||
print(get_balance(wallet1.classic_address, client))
|
print(get_balance(wallet1.classic_address, client))
|
||||||
print(get_balance(wallet2.classic_address, client))
|
print(get_balance(wallet2.classic_address, client))
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ async function setRegularKey(): Promise<void> {
|
|||||||
|
|
||||||
await client.disconnect()
|
await client.disconnect()
|
||||||
}
|
}
|
||||||
void setRegularKey()
|
void setRegularKey()
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ print(payment_response)
|
|||||||
# Balance after sending 1000 from wallet1 to wallet2
|
# Balance after sending 1000 from wallet1 to wallet2
|
||||||
print("Balances after payment:")
|
print("Balances after payment:")
|
||||||
print(get_balance(wallet1.classic_address, client))
|
print(get_balance(wallet1.classic_address, client))
|
||||||
print(get_balance(wallet2.classic_address, client))
|
print(get_balance(wallet2.classic_address, client))
|
||||||
|
|||||||
Reference in New Issue
Block a user