From 51b6fb849d4ea41ebb1cf560951573540dee00ed Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 29 Jun 2017 16:43:32 +0200 Subject: [PATCH] fix code examples indentation --- _src/getstarted.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_src/getstarted.html b/_src/getstarted.html index 2342922..685e859 100644 --- a/_src/getstarted.html +++ b/_src/getstarted.html @@ -87,7 +87,7 @@ redirect_from: {% capture curl %} ```bash curl -X "POST" "https://test.ipdb.io/api/v1/transactions/" \ --d $'{ message: "Blockchain all the things!" }' + -d $'{ message: "Blockchain all the things!" }' ``` {% endcapture %}{{ curl | markdownify }} @@ -103,12 +103,12 @@ bdb = BigchainDB('https://test.ipdb.io/api/v1/') alice = generate_keypair() tx = bdb.transactions.prepare( -metadata={ "message": "Blockchain all the things!" } + metadata={ "message": "Blockchain all the things!" } ) txSigned = bdb.transactions.fulfill( -tx, -private_keys=alice.private_key + tx, + private_keys=alice.private_key ) bdb.transactions.send(txSigned) @@ -124,7 +124,7 @@ const conn = new driver.Connection('https://test.ipdb.io/api/v1/') const alice = new driver.Ed25519Keypair() const tx = driver.Transaction.makeCreateTransaction( -{ message: "Blockchain all the things!" } + { message: "Blockchain all the things!" } ) const txSigned = driver.Transaction.signTransaction(tx, alice.privateKey)