Skip to content

Commit 63af008

Browse files
committed
Use scriptPubkey instead of script public key
This terminology is not that widely used, lets use `scriptPubkey` instead as is more common.
1 parent a80db08 commit 63af008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

primitives/src/script/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ pub type RedeemScriptBuf = ScriptBuf<RedeemScriptTag>;
3838
/// A reference to a P2SH redeem script.
3939
pub type RedeemScript = Script<RedeemScriptTag>;
4040

41-
/// A reference to a script public key (scriptPubKey).
41+
/// A reference to a `scriptPubKey` (locking script).
4242
pub type ScriptPubKey = Script<ScriptPubKeyTag>;
4343

4444
/// A reference to a script signature (scriptSig).
4545
pub type ScriptSig = Script<ScriptSigTag>;
4646

47-
/// A script public key (scriptPubKey).
47+
/// A `scriptPubKey` (locking script).
4848
pub type ScriptPubKeyBuf = ScriptBuf<ScriptPubKeyTag>;
4949

5050
/// A script signature (scriptSig).

0 commit comments

Comments
 (0)