aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-06-23 13:46:06 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-06-27 16:48:04 -0400
commitb80de4c505bf6377f2e476133dce6f2a803f1fa1 (patch)
treeafc671924be09dbd33bf3467a461b249af612de2 /test/functional/test_framework
parenta73b56888a1562d9fe46b7b1d2eea08802d98dfe (diff)
downloadbitcoin-b80de4c505bf6377f2e476133dce6f2a803f1fa1.tar.xz
test: Test signing psbts without explicitly having scripts
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r--test/functional/test_framework/key.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/test_framework/key.py b/test/functional/test_framework/key.py
index e5dea66963..68afc1383d 100644
--- a/test/functional/test_framework/key.py
+++ b/test/functional/test_framework/key.py
@@ -15,6 +15,10 @@ import unittest
from .util import modinv
+# Point with no known discrete log.
+H_POINT = "50929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac0"
+
+
def TaggedHash(tag, data):
ss = hashlib.sha256(tag.encode('utf-8')).digest()
ss += ss