RGB-WG / rgb-schemata

Standard RGB schemata and schema compiler
Apache License 2.0
29 stars 20 forks source link

v0.11 build error #38

Closed Crayon-Shin-chan-1024 closed 5 months ago

Crayon-Shin-chan-1024 commented 5 months ago
  --> src/lib.rs:60:41
   |
60 |         fn resolve_height(&mut self, _: &XWitnessId) -> Result<WitnessAnchor, Self::Error> {
   |                                         ^^^^^^^^^^^
   |                                         |
   |                                         expected `XChain<rgbstd::Txid>`, found `&XChain<rgbstd::Txid>`
   |                                         help: change the parameter type to match the trait: `XChain<rgbstd::Txid>`
   |
   = note: expected signature `fn(&mut DumbResolver, XChain<_>) -> Result<_, _>`
              found signature `fn(&mut DumbResolver, &XChain<_>) -> Result<_, _>`
dr-orlovsky commented 5 months ago

v0.11 is development branch and changes hourly, it doesn't provide guarantees to be buildable