fixed time conversion
This commit is contained in:
@@ -29,6 +29,8 @@ pub enum TxCommand {
|
||||
slot_length: u64,
|
||||
#[clap(short, long)]
|
||||
zero_time: u64,
|
||||
#[clap(short, long)]
|
||||
zero_slot: u64,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ fn main() -> anyhow::Result<()> {
|
||||
resolved_inputs,
|
||||
slot_length,
|
||||
zero_time,
|
||||
zero_slot,
|
||||
} => {
|
||||
let tx_bytes = if cbor {
|
||||
fs::read(input)?
|
||||
@@ -51,6 +52,7 @@ fn main() -> anyhow::Result<()> {
|
||||
|
||||
let slot_config = SlotConfig {
|
||||
zero_time,
|
||||
zero_slot,
|
||||
slot_length,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user