diff --git a/docs/source/guides/transaction.rst b/docs/source/guides/transaction.rst index 193141a6..537deda1 100644 --- a/docs/source/guides/transaction.rst +++ b/docs/source/guides/transaction.rst @@ -148,9 +148,9 @@ with its `build_and_sign` method. The code below tells the builder to build a tr with a list of signing keys (in this case, we only need the signature from one signing key, `sk`) and send the change back to sender's address:: - >>> tx = builder.build_and_sign([sk], change_address=address) + >>> signed_tx = builder.build_and_sign([sk], change_address=address) -Transaction ID could be obtained from the transaction obejct:: +Transaction ID could be obtained from the transaction object:: >>> tx.id TransactionId(hex='1d40b950ded3a144fb4c100d1cf8b85719da91b06845530e34a0304427692ce4')