Skip to content

Commit

Permalink
Merge pull request #178 from LedgerHQ/overcat-fix-stellar
Browse files Browse the repository at this point in the history
fix Stellar transaction
  • Loading branch information
fbeutin-ledger authored Feb 21, 2024
2 parents 255d0c1 + 6e36dca commit 6ca675f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/python/apps/stellar.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def _craft_simple_tx(self, network: Network, fees: int, memo: str, destination:
tx += StrKey.decode_ed25519_public_key(destination)
tx += int.to_bytes(AssetType.ASSET_TYPE_NATIVE, length=4, byteorder='big')
tx += int.to_bytes(send_amount, length=8, byteorder='big')
tx += int.to_bytes(0, length=4, byteorder="big") # tx.ext.v = 0
tx += int.to_bytes(0, length=4, byteorder="big") # sig.len = 0
return tx

def send_simple_sign_tx(self, path: str, network: Network, fees: int, memo: str, destination: str, send_amount: int) -> RAPDU:
Expand Down

0 comments on commit 6ca675f

Please sign in to comment.