Bitcoin Forum
April 30, 2024, 07:05:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Isn't "Only non-push operators allowed in signatures" error message wrong?  (Read 128 times)
Coding Enthusiast (OP)
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
March 23, 2020, 08:38:16 AM
Last edit: March 24, 2020, 01:15:51 PM by Coding Enthusiast
Merited by darosior (2), ABCbits (1)
 #1

It seems like it should be either "Only push operations allowed..." or "Non-push operations aren't allowed...".

Ref: https://github.com/bitcoin/bitcoin/blob/57a8fa9c3b4452ef7a9d9ed4b957b3888f542fb0/src/script/script_error.cpp#L61

Update: issue #18411 and PR #18412

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714503905
Hero Member
*
Offline Offline

Posts: 1714503905

View Profile Personal Message (Offline)

Ignore
1714503905
Reply with quote  #2

1714503905
Report to moderator
1714503905
Hero Member
*
Offline Offline

Posts: 1714503905

View Profile Personal Message (Offline)

Ignore
1714503905
Reply with quote  #2

1714503905
Report to moderator
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
March 23, 2020, 09:38:31 AM
Merited by ABCbits (1), Coding Enthusiast (1)
 #2

Indeed.

This line hasn't been modified since 2014.
Would be a great first contribution I guess  Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!