From 0d0291c5e25609988e8cd1aeb38fe87b40f7ca9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Thu, 26 Jan 2023 17:34:48 +0100 Subject: [PATCH] fixed decompose asset definition input structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- tests/web/test_transactions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/web/test_transactions.py b/tests/web/test_transactions.py index ea220f9..9d202d4 100644 --- a/tests/web/test_transactions.py +++ b/tests/web/test_transactions.py @@ -544,9 +544,9 @@ def test_post_transaction_decompose_valid(client, b): assets = [ tx["id"], - {"data": "bafkreiawyk3ou5qzqec4ggbvrs56dv5ske2viwprf6he5wj5gr4yv5orsu"}, - {"data": "bafkreibncbonglm6mi3znbrqbchk56wmgftk4gfevxqlgeif3g5jdotcka"}, - {"data": "bafkreibkokzihpnnyqf3xslcievqkadf2ozkdi72wyibijih447vq42kjm"}, + "bafkreiawyk3ou5qzqec4ggbvrs56dv5ske2viwprf6he5wj5gr4yv5orsu", + "bafkreibncbonglm6mi3znbrqbchk56wmgftk4gfevxqlgeif3g5jdotcka", + "bafkreibkokzihpnnyqf3xslcievqkadf2ozkdi72wyibijih447vq42kjm", ] recipients = [([alice.public_key], 1), ([alice.public_key], 2), ([alice.public_key], 3)] decompose_transaction = Decompose.generate(inputs=inputs_, recipients=recipients, assets=assets)