Page MenuHomePhabricator

[electrum] remove parse_scriptSig function
ClosedPublic

Authored by PiRK on Sep 7 2023, 11:49.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCada4267c27ce: [electrum] remove parse_scriptSig function
Summary

Use TxInput.parse_scriptsig instead.

Depends on D14458

Test Plan

python test_runner.py

Send transactions in the application (regular wallet and multisig)

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Sep 7 2023, 11:49
Fabien requested changes to this revision.Sep 8 2023, 08:23
Fabien added a subscriber: Fabien.
Fabien added inline comments.
electrum/electrumabc/transaction.py
559 ↗(On Diff #42104)

You have the opportunity to gain 1 indentation level:

if txin.is_coinbase():
  return d

[...]
This revision now requires changes to proceed.Sep 8 2023, 08:23

remove unneccessary indentation level

This revision is now accepted and ready to land.Sep 8 2023, 11:34