Skip to content

Commit 110bd6b

Browse files
committed
Fix more tests.
1 parent 328f367 commit 110bd6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning-persister/src/fs_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl KVStore for FilesystemStore {
191191
dest_file.sync_all()?;
192192
Ok(())
193193
}
194-
Err(e) => Err(e),
194+
Err(e) => Err(e.into()),
195195
}
196196
}
197197
};

lightning-transaction-sync/tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl TestConfirmable {
136136
impl Confirm for TestConfirmable {
137137
fn transactions_confirmed(&self, header: &Header, txdata: &TransactionData<'_>, height: u32) {
138138
for (_, tx) in txdata {
139-
let txid = tx.txid();
139+
let txid = tx.compute_txid();
140140
let block_hash = header.block_hash();
141141
self.confirmed_txs.lock().unwrap().insert(txid, (block_hash, height));
142142
self.unconfirmed_txs.lock().unwrap().remove(&txid);

0 commit comments

Comments
 (0)