File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,9 @@ impl chain::Filter for Blockchain {
21
21
// <insert code for you to watch for this transaction on-chain>
22
22
}
23
23
24
- fn register_output (& self , output : WatchedOutput ) -> Option <( usize , Transaction )> {
24
+ fn register_output (& self , output : WatchedOutput ) {
25
25
// <insert code for you to watch for any transactions that spend this
26
26
// output on-chain>
27
- // If you are fetching pre-filtered blocks, and do not fetch in-block
28
- // descendants of transactions, return any in-block spend of the given
29
- // output.
30
- // Otherwise return None.
31
27
}
32
28
}
33
29
```
@@ -43,13 +39,9 @@ Filter tx_filter = Filter.new_impl(new Filter.FilterInterface() {
43
39
}
44
40
45
41
@Override
46
- Option_C2Tuple_usizeTransactionZZ register_output (WatchedOutput output ) {
42
+ public void register_output (WatchedOutput output ) {
47
43
// <insert code for you to watch for any transactions that spend this
48
44
// output on-chain>
49
- // If you are fetching pre-filtered blocks, and do not fetch in-block
50
- // descendants of transactions, return any in-block spend of the given
51
- // output.
52
- // Otherwise return Option_C2Tuple_usizeTransactionZZ.none().
53
45
}
54
46
});
55
47
```
You can’t perform that action at this time.
0 commit comments