| 389 | } |
| 390 | |
| 391 | bool CBaseTx::VerifySignature(CTxExecuteContext &context, const CPubKey &pubkey) { |
| 392 | uint256 sighash = GetHash(); |
| 393 | if (!::VerifySignature(sighash, signature, pubkey)) |
| 394 | return context.pState->DoS(100, ERRORMSG("%s, tx signature error", BASE_TX_TITLE), REJECT_INVALID, "bad-tx-signature"); |
| 395 | |
| 396 | return true; |
| 397 | } |
| 398 | |
| 399 | /**################################ Universal Coin Transfer ########################################**/ |
| 400 |
nothing calls this directly
no test coverage detected