Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
chore: cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne007 committed Jan 3, 2020
1 parent 6531645 commit 9e1a0bd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 173 deletions.
4 changes: 0 additions & 4 deletions sgtypes/src/channel_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ impl ChannelTransaction {
self.version
}

pub fn action(&self) -> ScriptAction {
unimplemented!()
}

pub fn operator(&self) -> &ChannelOp {
&self.operator
}
Expand Down
167 changes: 0 additions & 167 deletions sgwallet/src/utils/actor.rs

This file was deleted.

2 changes: 0 additions & 2 deletions sgwallet/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ use anyhow::{bail, ensure, Result};
use libra_crypto::HashValue;
use libra_types::{account_address::AccountAddress, transaction::TransactionArgument};
use sgtypes::{channel_transaction::ChannelOp, htlc::HtlcPayment};
mod actor;
pub(crate) mod actor_timer;
pub use actor::*;
pub(crate) mod contract;

/// check if the `op` is a htlc transfer
Expand Down

0 comments on commit 9e1a0bd

Please sign in to comment.