ledgerloops / jerboa

A state-driven Ledger Loops node in TypeScript. Successor of strategies in https://github.com/ledgerloops/strategy-pit
Apache License 2.0
1 stars 0 forks source link

accounts must be different #9

Closed michielbdejong closed 1 month ago

michielbdejong commented 2 months ago

Running into this error:

{
  id: 740604882729747892731108824899298n,
  debit_account_id: 5000005n,
  credit_account_id: 5000005n,
  amount: 1000000000000n,
  pending_id: 0n,
  user_data_128: 339084n,
  user_data_64: 0n,
  user_data_32: 0,
  timeout: 0,
  ledger: 5,
  code: 720,
  flags: 0,
  timestamp: 0n
} accounts_must_be_different

and indeed:

grep ^5\ 5\  ../strategy-pit/__tests__/fixtures/testnet-sarafu.csv 
5 5 1.0
5 5 1.0
michielbdejong commented 1 month ago

I stopped using TigerBeetle