Skip to content

Commit

Permalink
fix empty attribute bug (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben2x4 authored Apr 15, 2022
1 parent fcfcd97 commit 5d46fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/stake-cw20-external-rewards/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ pub fn instantiate(
config
.owner
.map(|a| a.into_string())
.unwrap_or_else(|| "".to_string()),
.unwrap_or_else(|| "None".to_string()),
)
.add_attribute(
"manager",
config
.manager
.map(|a| a.into_string())
.unwrap_or_else(|| "".to_string()),
.unwrap_or_else(|| "None".to_string()),
)
.add_attribute("staking_contract", config.staking_contract)
.add_attribute(
Expand Down

0 comments on commit 5d46fc6

Please sign in to comment.