[wallet] Add a TxBuilder struct to simplify create_tx()'s interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use bitcoin::{OutPoint, Script, Txid};
|
||||
use bitcoin::{Address, OutPoint, Script, Txid};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
@@ -10,6 +10,7 @@ pub enum Error {
|
||||
SendAllMultipleOutputs,
|
||||
OutputBelowDustLimit(usize),
|
||||
InsufficientFunds,
|
||||
InvalidAddressNetork(Address),
|
||||
UnknownUTXO,
|
||||
DifferentTransactions,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user