From 1dedfd58500912f992174aa5c6de8ab19dfefc80 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmaiL.com>
Date: Wed, 24 Aug 2016 20:22:15 +0200
Subject: [PATCH] Fix issue #524

---
 src/sakia/core/wallet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sakia/core/wallet.py b/src/sakia/core/wallet.py
index 1a3279f7..af93f688 100644
--- a/src/sakia/core/wallet.py
+++ b/src/sakia/core/wallet.py
@@ -304,7 +304,7 @@ class Wallet(QObject):
         unlocks = self.tx_unlocks(sources)
         outputs = self.tx_outputs(pubkey, computed_outputs, overheads)
         logging.debug("Outputs : {0}".format(outputs))
-        tx = Transaction(PROTOCOL_VERSION, community.currency, blockstamp, 0,
+        tx = Transaction(3, community.currency, blockstamp, 0,
                          [self.pubkey], inputs, unlocks,
                          outputs, message, None)
         return tx
-- 
GitLab