From 3ead16965adfd73f426b06ad914f43a7b95e193c Mon Sep 17 00:00:00 2001 From: redDwarf03 Date: Tue, 31 Dec 2024 11:23:22 +0100 Subject: [PATCH] fix: :bug: Recipients are not taken into account when signing with AWC --- lib/infrastructure/rpc/sign_transactions/command_handler.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/infrastructure/rpc/sign_transactions/command_handler.dart b/lib/infrastructure/rpc/sign_transactions/command_handler.dart index 1b1862169..3411e85f7 100644 --- a/lib/infrastructure/rpc/sign_transactions/command_handler.dart +++ b/lib/infrastructure/rpc/sign_transactions/command_handler.dart @@ -16,7 +16,7 @@ class RPCSignTransactionsCommandHandler extends RPCCommandHandler< []; final transactions = dto.payload['transactions']; for (final Map transaction in transactions) { - final tx = archethic.Transaction.fromJson(transaction); + final tx = archethic.Transaction.fromNodeRPC(transaction); final rpcSignTransactionCommandData = awc.SignTransactionRequestData( data: tx.data!, version: tx.version, diff --git a/pubspec.yaml b/pubspec.yaml index 9f2b9d76e..adb601aef 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Fully decentralized and cryptocurrency non-custodial hot wallet tha publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: 4.2.0+605 +version: 4.2.1+606 environment: sdk: ">=3.5.0 <4.0.0"