mirror of
https://github.com/talaia-labs/rust-teos.git
synced 2026-08-19 13:18:22 +02:00
todo comment
Signed-off-by: dzdidi <dzdidi@protonmail.com>
This commit is contained in:
parent
af86b0e0cd
commit
c006f7de03
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ impl Blockchain {
|
|||
}
|
||||
|
||||
pub fn generate(&mut self, txs: Option<Vec<Transaction>>) -> Block {
|
||||
// FIXME: replace this magic number with something meaningul
|
||||
let bits = bitcoin::CompactTarget::from_consensus(553713663);
|
||||
|
||||
let prev_block = self.blocks.last().unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue