From eb4f39e78cf3adb643930c6a91cc85b015834996 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Fri, 10 Jul 2015 17:21:12 -0400 Subject: [PATCH] wallet.cpp: Set correct expiration in register_account --- libraries/wallet/wallet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp index 0fbd8be4..4d2fbd7b 100644 --- a/libraries/wallet/wallet.cpp +++ b/libraries/wallet/wallet.cpp @@ -727,6 +727,7 @@ public: vector paying_keys = registrar_account_object.active.get_keys(); + tx.set_expiration(get_dynamic_global_properties().head_block_id); tx.validate(); for( public_key_type& key : paying_keys )