Skip to content

Commit 572cf20

Browse files
author
Ludo Galabru
committed
fix: predicate documentation
1 parent f17dc4c commit 572cf20

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ The current `bitcoin` predicates support the following `if_this` constructs:
8787
{
8888
"if_this": {
8989
"scope": "outputs",
90-
"p2pkh": "mr1iPkD9N3RJZZxXRk7xF9d36gffa6exNC"
90+
"p2pkh": {
91+
"equals": "mr1iPkD9N3RJZZxXRk7xF9d36gffa6exNC"
92+
}
9193
}
9294
}
9395

@@ -97,7 +99,9 @@ The current `bitcoin` predicates support the following `if_this` constructs:
9799
{
98100
"if_this": {
99101
"scope": "outputs",
100-
"p2sh": "2MxDJ723HBJtEMa2a9vcsns4qztxBuC8Zb2"
102+
"p2sh": {
103+
"equals": "2MxDJ723HBJtEMa2a9vcsns4qztxBuC8Zb2"
104+
}
101105
}
102106
}
103107

@@ -107,7 +111,9 @@ The current `bitcoin` predicates support the following `if_this` constructs:
107111
{
108112
"if_this": {
109113
"scope": "outputs",
110-
"p2wpkh": "bcrt1qnxknq3wqtphv7sfwy07m7e4sr6ut9yt6ed99jg"
114+
"p2wpkh": {
115+
"equals": "bcrt1qnxknq3wqtphv7sfwy07m7e4sr6ut9yt6ed99jg"
116+
}
111117
}
112118
}
113119

@@ -117,7 +123,9 @@ The current `bitcoin` predicates support the following `if_this` constructs:
117123
{
118124
"if_this": {
119125
"scope": "outputs",
120-
"p2wsh": "bc1qklpmx03a8qkv263gy8te36w0z9yafxplc5kwzc"
126+
"p2wsh": {
127+
"equals": "bc1qklpmx03a8qkv263gy8te36w0z9yafxplc5kwzc"
128+
}
121129
}
122130
}
123131

0 commit comments

Comments
 (0)