diff options
author | wmin0 <wmin0@cobinhood.com> | 2019-04-08 17:41:35 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-05-06 10:44:04 +0800 |
commit | 400f81ab9892fd7669c54967c7a64470ae5ae7d5 (patch) | |
tree | b3aeee4d9cf618a0591ff0947246e11590dff437 | |
parent | 8982bd5baac2651f54eebe8e5d1f969f9731636c (diff) | |
download | dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.gz dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.zst dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.zip |
core: vm: sqlvm: schema: column rlp does not contain offset fields
-rw-r--r-- | core/vm/sqlvm/schema/schema.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/sqlvm/schema/schema.go b/core/vm/sqlvm/schema/schema.go index 708bbf672..1ebb96fa3 100644 --- a/core/vm/sqlvm/schema/schema.go +++ b/core/vm/sqlvm/schema/schema.go @@ -163,8 +163,8 @@ type column struct { Attr ColumnAttr ForeignKeys []ColumnDescriptor Sequence SequenceRef - SlotOffset uint8 - ByteOffset uint8 + SlotOffset uint8 `rlp:"-"` + ByteOffset uint8 `rlp:"-"` // Rest is a special field reserved for use in EncodeRLP. The value stored // in it will be overwritten every time EncodeRLP is called. Rest interface{} |