Skip to content

Commit

Permalink
Merge pull request #227 from securesecrets/snip20-transfer-fix
Browse files Browse the repository at this point in the history
transfer bug fix
  • Loading branch information
FloppyDisck authored Jun 27, 2022
2 parents 40bdb53 + 3995082 commit cb51857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/mint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ snafu = { version = "0.6.3" }
chrono = "0.4.19"

[dev-dependencies]
fadroma = { branch = "v100", git = "https://github.com/hackbg/fadroma.git", features = ["ensemble"] }
fadroma = { branch = "v100", git = "https://github.com/hackbg/fadroma.git", features = ["ensemble", "scrt"] }
contract_harness = { version = "0.1.0", path = "../../packages/contract_harness", features = ["mint", "snip20_reference_impl", "mock_band", "oracle"] }
snip20-reference-impl = { version = "0.1.0", path = "../../contracts/snip20-reference-impl" }
oracle = { version = "0.1.0", path = "../../contracts/oracle" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl InitConfig {
self.enable_burn.unwrap_or(false)
}
pub fn transfer_enabled(&self) -> bool {
self.enable_burn.unwrap_or(true)
self.enable_transfer.unwrap_or(true)
}
}

Expand Down

0 comments on commit cb51857

Please sign in to comment.