mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
darkotc: Fix imports.
This commit is contained in:
@@ -2,7 +2,7 @@ use std::process::exit;
|
||||
|
||||
use halo2_proofs::pasta::group::ff::PrimeField;
|
||||
|
||||
use darkfi::{crypto::types::DrkTokenId, util::decode_base10, Result};
|
||||
use darkfi::{crypto::types::DrkTokenId, util::parse::decode_base10, Result};
|
||||
|
||||
pub fn parse_value_pair(s: &str) -> Result<(u64, u64)> {
|
||||
let v: Vec<&str> = s.split(':').collect();
|
||||
|
||||
@@ -27,14 +27,14 @@ use darkfi::{
|
||||
BurnRevealedValues, MintRevealedValues, Proof,
|
||||
},
|
||||
rpc::client::RpcClient,
|
||||
serial::{deserialize, serialize, Encodable, SerialDecodable, SerialEncodable},
|
||||
tx::{
|
||||
partial::{PartialTransaction, PartialTransactionInput},
|
||||
Transaction, TransactionInput, TransactionOutput,
|
||||
},
|
||||
util::{
|
||||
cli::{fg_green, fg_red, progress_bar},
|
||||
encode_base10,
|
||||
serial::{deserialize, serialize, Encodable, SerialDecodable, SerialEncodable},
|
||||
parse::encode_base10,
|
||||
},
|
||||
zk::circuit::{BurnContract, MintContract},
|
||||
Result,
|
||||
|
||||
@@ -5,12 +5,12 @@ use serde_json::json;
|
||||
use darkfi::{
|
||||
crypto::{
|
||||
address::Address,
|
||||
coin::OwnCoin,
|
||||
merkle_node::MerkleNode,
|
||||
note::{EncryptedNote, Note},
|
||||
OwnCoin,
|
||||
},
|
||||
rpc::{client::RpcClient, jsonrpc::JsonRequest},
|
||||
util::serial::{deserialize, serialize},
|
||||
serial::{deserialize, serialize},
|
||||
Result,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user