From 648ea1e37db758b7c44d8113abc0c94d1a5daccd Mon Sep 17 00:00:00 2001 From: Matthias Benkort <5680256+KtorZ@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:53:26 +0100 Subject: [PATCH] Fix transaction submission example The API seems to expect the whole transaction object, not just CBOR bytes --- docs/source/guides/transaction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/guides/transaction.rst b/docs/source/guides/transaction.rst index b75d2c7e..859b328c 100644 --- a/docs/source/guides/transaction.rst +++ b/docs/source/guides/transaction.rst @@ -178,5 +178,5 @@ Transaction submission Once we have a signed transaction, it could be submitted to the network. The easiest way to do so is through a chain context:: - >>> context.submit_tx(signed_tx.to_cbor_hex()) + >>> context.submit_tx(signed_tx)