Skip to content

Commit

Permalink
fix tests by importing spkencoding trait
Browse files Browse the repository at this point in the history
  • Loading branch information
biryukovmaxim committed Nov 9, 2024
1 parent 046308f commit 828a5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/txscript/src/opcodes/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#[macro_use]
mod macros;

use crate::data_stack::{DataStack, Kip10I64, OpcodeData};
use crate::{
data_stack::{DataStack, Kip10I64, OpcodeData},
ScriptSource, SpkEncoding, TxScriptEngine, TxScriptError, LOCK_TIME_THRESHOLD, MAX_TX_IN_SEQUENCE_NUM, NO_COST_OPCODE,
SEQUENCE_LOCK_TIME_DISABLED, SEQUENCE_LOCK_TIME_MASK,
};
Expand Down Expand Up @@ -2996,7 +2996,7 @@ mod test {
mod kip10 {
use super::*;
use crate::data_stack::DataStack;
use crate::{data_stack::OpcodeData, opcodes::push_number};
use crate::{data_stack::OpcodeData, opcodes::push_number, SpkEncoding};

#[derive(Clone, Debug)]
struct Kip10Mock {
Expand Down

0 comments on commit 828a5bc

Please sign in to comment.