mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
chore: code clean-up, remove masterpub_fingerprint
This commit is contained in:
parent
cb137e7142
commit
04327a98cb
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user