Skip to content

Commit

Permalink
fix: print metaTx
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Sep 14, 2023
1 parent 347c448 commit 5a81cde
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/soroban-rpc/internal/test/simulate_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,11 @@ func TestSimulateTransactionBumpAndRestoreFootprint(t *testing.T) {
})
tx, err = txnbuild.NewTransaction(params)
assert.NoError(t, err)
sendSuccessfulTransaction(t, client, sourceAccount, tx)
response := sendSuccessfulTransaction(t, client, sourceAccount, tx)
var txMeta xdr.TransactionMeta
err = xdr.SafeUnmarshalBase64(response.ResultMetaXdr, &txMeta)
assert.NoError(t, err)
println(fmt.Printf("meta: %#v\n", txMeta.Operations))

err = client.CallResult(context.Background(), "getLedgerEntry", getLedgerEntryrequest, &getLedgerEntryResult)
assert.NoError(t, err)
Expand Down

0 comments on commit 5a81cde

Please sign in to comment.