mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 19:18:07 +00:00
fixed inputAddressFormatter
This commit is contained in:
parent
acf3cff2c8
commit
46fcae76ed
@ -3,11 +3,12 @@ var assert = chai.assert;
|
||||
var formatters = require('../lib/web3/formatters.js');
|
||||
var BigNumber = require('bignumber.js');
|
||||
|
||||
var tests = [{
|
||||
input: 'XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS', result: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8',
|
||||
input: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8', result: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8',
|
||||
input: '00c5496aee77c1ba1f0854206a26dda82a81d6d8', result: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8'
|
||||
}];
|
||||
var tests = [
|
||||
{ input: 'XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS', result: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8' },
|
||||
{ input: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8', result: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8'},
|
||||
{ input: '00c5496aee77c1ba1f0854206a26dda82a81d6d8', result: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8'},
|
||||
{ input: '0x11f4d0a3c12e86b4b5f39b213f7e19d048276dae', result: '0x11f4d0a3c12e86b4b5f39b213f7e19d048276dae' }
|
||||
];
|
||||
|
||||
var errorTests = [
|
||||
'0x0c5496aee77c1ba1f0854206a26dda82a81d6d8',
|
||||
|
Loading…
x
Reference in New Issue
Block a user