|
|
@@ -24,7 +24,7 @@ use darkfi_sdk::{
|
|
|
error::{ContractError, ContractResult},
|
|
|
msg,
|
|
|
pasta::pallas,
|
|
|
- util::get_current_slot,
|
|
|
+ util::get_verifying_slot,
|
|
|
ContractCall,
|
|
|
};
|
|
|
use darkfi_serial::{deserialize, serialize, Encodable, WriteExt};
|
|
|
@@ -85,7 +85,7 @@ pub(crate) fn dao_vote_get_metadata(
|
|
|
));
|
|
|
}
|
|
|
|
|
|
- let current_day = slot_to_day(get_current_slot());
|
|
|
+ let current_day = slot_to_day(get_verifying_slot());
|
|
|
|
|
|
let yes_vote_commit_coords = params.yes_vote_commit.to_affine().coordinates().unwrap();
|
|
|
let all_vote_commit_coords = all_vote_commit.to_affine().coordinates().unwrap();
|