Skip to content

Commit

Permalink
Add unstaking_duration attribute to unstake in cw721-voting. (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xekez authored Jan 9, 2023
1 parent 1673241 commit e81708b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion contracts/voting/dao-voting-cw721-staked/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,14 @@ pub fn execute_update_config(
config
.owner
.map(|a| a.to_string())
.unwrap_or_else(|| "None".to_string()),
.unwrap_or_else(|| "none".to_string()),
)
.add_attribute(
"unstaking_duration",
config
.unstaking_duration
.map(|d| d.to_string())
.unwrap_or_else(|| "none".to_string()),
))
}

Expand Down

0 comments on commit e81708b

Please sign in to comment.