1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2025-01-23 06:01:13 +00:00

CH07: Minor: wallets don't need to know what type of wit prog they spend to

This commit is contained in:
David A. Harding 2023-03-16 09:32:01 -10:00
parent d84c3be909
commit 90eafb5df8

View File

@ -1502,7 +1502,7 @@ the other as a script hash, which is satisfied by a witness script. The
This is the one difference that allows a wallet to differentiate between
the two types of witness programs. By looking at the length of the hash,
a wallet can determine what type of witness program it is, P2WPKH or
a node can determine what type of witness program it is, P2WPKH or
P2WSH.
==== Upgrading to Segregated Witness