Remove unnecessary map_err

This commit is contained in:
Sudarsan Balaji committed 2022-03-28 20:04:22 +01:00
1 parent dd5622f724
commit adc3f68e31
1 file changed
-1
-1
View File
@@ -322,7 +322,6 @@ impl TxBuilder {
internal: Mutex::new(psbt),
})
.map(Arc::new)
.map_err(|_| BdkError::Generic("Failed to build transaction".to_string()))
}
}