Skip to content

Commit

Permalink
Revert "fix eventutil (#146)"
Browse files Browse the repository at this point in the history
This reverts commit d2c4f5c.
  • Loading branch information
nkysg committed Mar 2, 2023
1 parent 73ea9ea commit b848f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/StarcoinFramework/BuildInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: YieldFarmingV2
: StarcoinFramework
source_digest: 2AD2AE7E71652A66A26833D40AE407B8999CCA28FA16FF7FBBC34E73A73FA704
source_digest: D7E6AADF60D6DBC2B4D201DAD7194CB302243FDE0120938288500A2ACB9E75B8
build_flags:
dev_mode: false
test_mode: false
Expand Down
2 changes: 1 addition & 1 deletion sources/EventUtil.move
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module StarcoinFramework::EventUtil {
use StarcoinFramework::Errors;

const ERR_INIT_REPEATE: u64 = 101;
const ERR_RESOURCE_NOT_EXISTS: u64 = 102;
const ERR_RESOURCE_NOT_EXISTS: u64 = 101;

struct EventHandleWrapper<phantom EventT: store + drop> has key {
handle: Event::EventHandle<EventT>,
Expand Down

0 comments on commit b848f9f

Please sign in to comment.