mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-16 16:42:03 +00:00
Fix for prior commit
This commit is contained in:
parent
8a24fc39a6
commit
1aa293cc4a
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ impl Scanner {
|
||||||
/// Scan a transaction to discover the received outputs.
|
/// Scan a transaction to discover the received outputs.
|
||||||
pub fn scan_transaction(&mut self, tx: &Transaction) -> Timelocked<ReceivedOutput> {
|
pub fn scan_transaction(&mut self, tx: &Transaction) -> Timelocked<ReceivedOutput> {
|
||||||
// Only scan RCT TXs since we can only spend RCT outputs
|
// Only scan RCT TXs since we can only spend RCT outputs
|
||||||
if tx.version != 2 {
|
if tx.prefix.version != 2 {
|
||||||
return Timelocked(tx.prefix.timelock, vec![]);
|
return Timelocked(tx.prefix.timelock, vec![]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue