From 94bb19f5b72d6d8f915aabd89e446c823fe1a61f Mon Sep 17 00:00:00 2001 From: lucas Date: Thu, 4 Nov 2021 19:48:50 +0800 Subject: [PATCH] use json.Number when decode event (#1380) Co-authored-by: lucas --- core/store/ledgerstore/event_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/store/ledgerstore/event_store.go b/core/store/ledgerstore/event_store.go index 9d9e3db2f..d7f8a2697 100644 --- a/core/store/ledgerstore/event_store.go +++ b/core/store/ledgerstore/event_store.go @@ -34,7 +34,7 @@ import ( // UseNumber can be set to true to enable the use of json.Number when decoding // event state. -var UseNumber = false +var UseNumber = true //Saving event notifies gen by smart contract execution type EventStore struct {