Fix binary contents
// limitations under the License.
use exonum_cli::{NodeBuilder, Spec};
+use exonum_rust_runtime::spec::JustFactory;
use exonum_cryptocurrency_advanced::CryptocurrencyService;
use old_cryptocurrency::contracts::CryptocurrencyService as OldService;
@@ -21,6 +22,6 @@ fn main() -> anyhow::Result<()> {
exonum::helpers::init_logger()?;
NodeBuilder::new()
.with(Spec::new(OldService).with_default_instance())
- .with(Spec::migrating(CryptocurrencyService))
+ .with(JustFactory::migrating(CryptocurrencyService))
.run()
}
