Skip to content

Commit

Permalink
e2e: print coin_selection error on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed May 3, 2024
1 parent 51490ab commit 2f5e406
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/spec/e2e_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ def script_hash
payload_cs = [{ address: address,
amount: { quantity: 1_000_000_000, unit: 'lovelace' } }]
coin_selection = SHELLEY.coin_selections.random(@wid, payload_cs)
print coin_selection if coin_selection['inputs'].nil?
input = coin_selection['inputs'].select { |i| i['assets'] == [] }.first
tx_id = input['id']
tx_idx = input['index'].to_i
Expand Down

0 comments on commit 2f5e406

Please sign in to comment.