Skip to content

Commit

Permalink
formatting in C++ test
Browse files Browse the repository at this point in the history
  • Loading branch information
lamafab committed Jul 17, 2023
1 parent 2b62426 commit f974102
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/chains/Bitcoin/TWBitcoinSigningTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,10 @@ TEST(BitcoinSigning, SignNftInscriptionReveal) {

ANY_SIGN(input, TWCoinTypeBitcoin);
auto result = hex(output.encoded());
ASSERT_EQ(result.substr(0, 164), expectedHex.substr(0, 164));
ASSERT_EQ(result.substr(292, result.size() - 292), expectedHex.substr(292, result.size() - 292));
ASSERT_EQ(output.transaction_id(), "173f8350b722243d44cc8db5584de76b432eb6d0888d9e66e662db51584f44ac");
ASSERT_EQ(output.error(), Common::Proto::OK);

// Successfully broadcasted: https://www.blockchain.com/explorer/transactions/btc/173f8350b722243d44cc8db5584de76b432eb6d0888d9e66e662db51584f44ac
ASSERT_EQ(result.substr(0, 164), expectedHex.substr(0, 164));
ASSERT_EQ(result.substr(292, result.size() - 292), expectedHex.substr(292, result.size() - 292));
}

TEST(BitcoinSigning, SignP2PKH) {
Expand Down

0 comments on commit f974102

Please sign in to comment.