Skip to content

Commit 90b733a

Browse files
author
minium
committed
Repaired remaining tests
1 parent 3ee0ffb commit 90b733a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/rawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ BOOST_AUTO_TEST_CASE(SendRawTransaction) {
135135
try{
136136
fx.btc.sendrawtransaction(txid, false);
137137
}catch(BitcoinException& e){
138-
BOOST_REQUIRE(e.getCode() == -25);
138+
BOOST_REQUIRE(e.getCode() == -25 || e.getCode() == -27);
139139
}
140140
}
141141

src/test/wallet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ BOOST_AUTO_TEST_CASE(KeypoolRefill) {
205205
int newkeypoolsize;
206206
int refreshedkeypoolsize;
207207

208+
208209
/* Get current keypool size and use one key */
209210
BOOST_REQUIRE_NO_THROW(oldkeypoolsize = fx.btc.getinfo().keypoolsize);
210211
BOOST_REQUIRE_NO_THROW(fx.btc.getnewaddress());

0 commit comments

Comments
 (0)