Skip to content

Commit

Permalink
revert some changes to transactions.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored May 25, 2024
1 parent b49dd22 commit b6e8d65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/transactions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Sending SOL
Here we construct a transaction with one instruction - it sends SOL from one
wallet to another via the System Program:

.. code-block:: python
.. testcode::

from solders.hash import Hash
from solders.keypair import Keypair
Expand All @@ -43,7 +43,7 @@ wallet to another via the System Program:
tx = VersionedTransaction(msg, [sender])

---------------
Partial Signing
Partial signing
---------------

Suppose you have a transaction that both Alice and Bob need to sign, and Bob doesn't want to give
Expand All @@ -53,7 +53,7 @@ One solution is for Alice to create a transaction containing her signature and a
the ``NullSigner`` class. She then serializes this transaction and sends it to Bob, who deserializes it
and replaces the dummy signature with his own signature:

.. code-block:: python
.. testcode::

from solders.hash import Hash
from solders.instruction import AccountMeta, Instruction
Expand Down

0 comments on commit b6e8d65

Please sign in to comment.