diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-02-07 02:20:37 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-02-07 02:20:37 +0800 |
commit | a7bfea51e587f0edda6804f32f512f7ace9b5aed (patch) | |
tree | 75def952eb601c25484df571b75401fc67b6e357 /development/backGroundConnectionModifiers.js | |
parent | d452403322c517eee4fc6120de1ead68ed65ee6a (diff) | |
download | tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.tar tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.tar.gz tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.tar.bz2 tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.tar.lz tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.tar.xz tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.tar.zst tangerine-wallet-browser-a7bfea51e587f0edda6804f32f512f7ace9b5aed.zip |
Integration tests for signature requests confirmations. (#3194)
Diffstat (limited to 'development/backGroundConnectionModifiers.js')
-rw-r--r-- | development/backGroundConnectionModifiers.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/development/backGroundConnectionModifiers.js b/development/backGroundConnectionModifiers.js new file mode 100644 index 000000000..ffbe49d4d --- /dev/null +++ b/development/backGroundConnectionModifiers.js @@ -0,0 +1,26 @@ +module.exports = { + "confirm sig requests": { + signMessage: (msgData, cb) => { + const stateUpdate = { + unapprovedMsgs: {}, + unapprovedMsgCount: 0, + } + return cb(null, stateUpdate) + }, + signPersonalMessage: (msgData, cb) => { + const stateUpdate = { + unapprovedPersonalMsgs: {}, + unapprovedPersonalMsgsCount: 0, + } + return cb(null, stateUpdate) + }, + signTypedMessage: (msgData, cb) => { + const stateUpdate = { + unapprovedTypedMessages: {}, + unapprovedTypedMessagesCount: 0, + } + return cb(null, stateUpdate) + }, + }, +} + |