Skip to content

Commit

Permalink
Do not sort authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyhill666 committed Nov 14, 2019
1 parent 4f26ed9 commit beed1aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- [![Build Status](https://travis-ci.org/EOSIO/eosjs.svg?branch=master)](https://travis-ci.org/EOSIO/eosjs) -->
[![NPM](https://img.shields.io/npm/v/eosjs-classic.svg)](https://www.npmjs.org/package/eosjs-classic)

# Eosjs-classic
# eosjs-classic

General purpose library for EOSIO blockchains.

Expand Down
8 changes: 4 additions & 4 deletions src/structs.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ module.exports = (config = {}, extendedSchema) => {

// Do not sort transaction actions
config.sort = Object.assign({}, config.sort)
config.sort['action.authorization'] = true
config.sort['signed_transaction.signature'] = true
config.sort['authority.accounts'] = true
config.sort['authority.keys'] = true
config.sort['action.authorization'] = false
config.sort['signed_transaction.signature'] = false
config.sort['authority.accounts'] = false
config.sort['authority.keys'] = false

const fullSchema = Object.assign({}, schema, extendedSchema)
const {structs, types, errors, fromBuffer, toBuffer} = Fcbuffer(fullSchema, config)
Expand Down

0 comments on commit beed1aa

Please sign in to comment.