Commit 8133f36
committed
tapdb: fix passive asset re-anchoring
When re-anchoring a passive asset, we need to reset any time locks it
previously had on it. Because the re-anchoring is a normal transfer with
just a simple signature, we need to clear any previous restrictions.
The ReAnchorPassiveAssets query basically needs to mirror what the
asset.CopySpendTemplate() method does.1 parent ef98567 commit 8133f36
File tree
3 files changed
+10
-3
lines changed- tapdb
- sqlc
- queries
3 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2288 | 2288 | | |
2289 | 2289 | | |
2290 | 2290 | | |
2291 | | - | |
2292 | 2291 | | |
2293 | 2292 | | |
2294 | 2293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments