add space at eof

This commit is contained in:
Phu Pham
2023-01-30 15:02:22 -05:00
parent 00eb153f3e
commit 31f9eecffc
12 changed files with 12 additions and 12 deletions

View File

@@ -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()
} }

View File

@@ -37,4 +37,4 @@ async function getTransaction(): Promise<void> {
await client.disconnect() await client.disconnect()
} }
void getTransaction() void getTransaction()

View File

@@ -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!")

View File

@@ -37,4 +37,4 @@ async function getTransaction(): Promise<void> {
await client.disconnect() await client.disconnect()
} }
void getTransaction() void getTransaction()

View File

@@ -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)

View File

@@ -88,4 +88,4 @@ async function partialPayment(): Promise<void> {
await client.disconnect() await client.disconnect()
} }
void partialPayment() void partialPayment()

View File

@@ -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"])

View File

@@ -46,4 +46,4 @@ async function createTxWithPaths(): Promise<void> {
await client.disconnect() await client.disconnect()
} }
void createTxWithPaths() void createTxWithPaths()

View File

@@ -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))

View File

@@ -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))

View File

@@ -51,4 +51,4 @@ async function setRegularKey(): Promise<void> {
await client.disconnect() await client.disconnect()
} }
void setRegularKey() void setRegularKey()

View File

@@ -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))