From 18808b44ae960d59e6a52b33c66e42e786bdb924 Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Mon, 29 Jun 2015 11:46:16 +0200 Subject: [PATCH] Fixed build --- tests/tests/operation_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests/operation_tests.cpp b/tests/tests/operation_tests.cpp index 965379d7..26695bfa 100644 --- a/tests/tests/operation_tests.cpp +++ b/tests/tests/operation_tests.cpp @@ -388,7 +388,7 @@ BOOST_AUTO_TEST_CASE( child_account ) op.owner = authority(1, child_key.get_id(), 1); op.active = authority(1, child_key.get_id(), 1); trx.operations.emplace_back(op); - trx.sign({}, delegate_priv_key); + trx.sign(key_id_type(), delegate_priv_key); BOOST_REQUIRE_THROW(PUSH_TX( db, trx ), fc::exception); sign(trx, nathan_key.id,nathan_private_key); @@ -396,7 +396,7 @@ BOOST_AUTO_TEST_CASE( child_account ) trx.signatures.clear(); op.owner = authority(1, account_id_type(nathan.id), 1); trx.operations = {op}; - trx.sign({}, delegate_priv_key); + trx.sign(key_id_type(), delegate_priv_key); trx.sign(nathan_key.id, nathan_private_key); db.push_transaction(trx);