chore: code clean-up, remove masterpub_fingerprint

This commit is contained in:
Vlad Stan 2022-08-03 08:35:52 +03:00
parent cb137e7142
commit 04327a98cb
3 changed files with 0 additions and 4 deletions

View File

@ -58,7 +58,6 @@ class TransactionInput(BaseModel):
address: str address: str
branch_index: int branch_index: int
address_index: int address_index: int
masterpub_fingerprint: str
wallet: str wallet: str
tx_hex: str tx_hex: str
@ -68,7 +67,6 @@ class TransactionOutput(BaseModel):
address: str address: str
branch_index: int = None branch_index: int = None
address_index: int = None address_index: int = None
masterpub_fingerprint: str = None
wallet: str = None wallet: str = None

View File

@ -203,7 +203,6 @@ async function payment(path) {
address: change.address, address: change.address,
address_index: change.addressIndex, address_index: change.addressIndex,
branch_index: change.isChange ? 1 : 0, branch_index: change.isChange ? 1 : 0,
masterpub_fingerprint: walletAcount.fingerprint,
wallet: walletAcount.id wallet: walletAcount.id
} }
}, },

View File

@ -43,7 +43,6 @@ const mapUtxoToPsbtInput = utxo => ({
address: utxo.address, address: utxo.address,
branch_index: utxo.isChange ? 1 : 0, branch_index: utxo.isChange ? 1 : 0,
address_index: utxo.addressIndex, address_index: utxo.addressIndex,
masterpub_fingerprint: utxo.masterpubFingerprint,
wallet: utxo.wallet, wallet: utxo.wallet,
accountType: utxo.accountType, accountType: utxo.accountType,
txHex: '' txHex: ''