Skip to content

Commit 90621db

Browse files
committed
Comments.
1 parent 3a2c755 commit 90621db

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/protocols/protocol_electrum.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ void protocol_electrum::handle_blockchain_transaction_get(const code& ec,
474474
const auto size = tx->serialized_size(true);
475475
if (verbose)
476476
{
477+
// TODO: inject contextual tx properties.
477478
// Verbose means whatever bitcoind returns for getrawtransaction, lolz.
478479
send_result(value_from(bitcoind(*tx)), two * size, BIND(complete, _1));
479480
}

test/protocols/electrum/electrum_transactions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get__genesis_coinbase_verb
126126
BOOST_CHECK_EQUAL(response.at("result").as_string(), encode_base16(coinbase.to_data(true)));
127127
}
128128

129+
// TODO: the expectation doesn't acocunt for contextual tx properties.
129130
BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get__genesis_coinbase_verbose_true__expected)
130131
{
131132
BOOST_CHECK(handshake());

0 commit comments

Comments
 (0)