core/bitcoin: fix step 1 and 2 comments in signing

pull/853/merge
Tomas Susanka 4 years ago
parent 9a59b99fa9
commit a2f790167d

@ -43,11 +43,12 @@ class Bitcoin:
async def signer(self) -> None:
progress.init(self.tx.inputs_count, self.tx.outputs_count)
# Add inputs to hash143 and h_confirmed and compute the sum of input amounts.
# Add inputs to hash143 and h_confirmed and compute the sum of input amounts
# by requesting each previous transaction and checking its output amounts.
await self.step1_process_inputs()
# Add outputs to hash143 and h_confirmed, check previous transaction output
# amounts, confirm outputs and compute sum of output amounts.
# Add outputs to hash143 and h_confirmed, confirm outputs and compute
# sum of output amounts.
await self.step2_confirm_outputs()
# Check fee, confirm lock_time and total.

Loading…
Cancel
Save