mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 16:52:57 +08:00
fix: typo
This commit is contained in:
@@ -397,9 +397,9 @@ impl BitcoinPredicateType {
|
||||
}
|
||||
false
|
||||
}
|
||||
BitcoinPredicateType::StacksProtocol(StacksOperations::StxTransfered) => {
|
||||
BitcoinPredicateType::StacksProtocol(StacksOperations::StxTransferred) => {
|
||||
for op in tx.metadata.stacks_operations.iter() {
|
||||
if let StacksBaseChainOperation::StxTransfered(_) = op {
|
||||
if let StacksBaseChainOperation::StxTransferred(_) = op {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -528,7 +528,7 @@ pub enum StacksOperations {
|
||||
StackerRewarded,
|
||||
BlockCommitted,
|
||||
LeaderRegistered,
|
||||
StxTransfered,
|
||||
StxTransferred,
|
||||
StxLocked,
|
||||
}
|
||||
|
||||
|
||||
@@ -498,7 +498,7 @@ fn try_parse_stacks_operation(
|
||||
}
|
||||
StacksOpcodes::TransferStx => {
|
||||
let res = try_parse_transfer_stx_op(&op_return_output[6..])?;
|
||||
StacksBaseChainOperation::StxTransfered(res)
|
||||
StacksBaseChainOperation::StxTransferred(res)
|
||||
}
|
||||
StacksOpcodes::StackStx => {
|
||||
let res = try_parse_stacks_stx_op(&op_return_output[6..])?;
|
||||
|
||||
@@ -339,7 +339,7 @@ pub struct OrdinalInscriptionRevealData {
|
||||
pub enum StacksBaseChainOperation {
|
||||
BlockCommitted(StacksBlockCommitmentData),
|
||||
LeaderRegistered(KeyRegistrationData),
|
||||
StxTransfered(TransferSTXData),
|
||||
StxTransferred(TransferSTXData),
|
||||
StxLocked(LockSTXData),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user